make crypto code compile with openssl 1.1.x
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 27 Nov 2018 15:14:20 +0000 (16:14 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 18 Dec 2018 11:57:28 +0000 (12:57 +0100)
commite613cd718ebc029df11f4b43b55e65c95451a04a
tree7e398df743d4a1ac89a90bb071839d7972c70a61
parenta108f761d2ee8c6330d3c7fab60abb5c829683fe
make crypto code compile with openssl 1.1.x

From EVP_DigestInit(3):

       EVP_MD_CTX_create() and EVP_MD_CTX_destroy() were renamed
       to EVP_MD_CTX_new() and EVP_MD_CTX_free() in OpenSSL 1.1.
src/crypto.cpp