diff options
author | Chris Wilson <chris+github@qwirx.com> | 2018-02-25 08:18:34 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2018-02-25 08:18:34 +0000 |
commit | bc48bec97b65534966da74a07ed3edb3f13f6263 (patch) | |
tree | 387b7b54d15fa2f646366a51ada52034ea26fa6f /lib/crypto/CipherBlowfish.cpp | |
parent | 6d7e9562e8485591a4888f1fc2d3c6c657dc7a01 (diff) |
Revert "Add support for OpenSSL 1.1 and replace deprecated function calls"
Until shown to be safe. See message from Johann Glaser to the mailing list.
This reverts commit 85e7efc3fa0477f60318d2cd2144503a9ea8feb9.
Diffstat (limited to 'lib/crypto/CipherBlowfish.cpp')
-rw-r--r-- | lib/crypto/CipherBlowfish.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/CipherBlowfish.cpp b/lib/crypto/CipherBlowfish.cpp index 4c75b1de..e16cc6ed 100644 --- a/lib/crypto/CipherBlowfish.cpp +++ b/lib/crypto/CipherBlowfish.cpp @@ -206,7 +206,7 @@ void CipherBlowfish::SetupParameters(EVP_CIPHER_CTX *pCipherContext) const } // Set key #ifndef HAVE_OLD_SSL - if(EVP_CipherInit_ex(pCipherContext, GetCipher(), NULL, (unsigned char*)mpKey, (unsigned char*)mpInitialisationVector, -1) != 1) + if(EVP_CipherInit_ex(pCipherContext, NULL, NULL, (unsigned char*)mpKey, (unsigned char*)mpInitialisationVector, -1) != 1) #else if(EVP_CipherInit(pCipherContext, NULL, (unsigned char*)mKey.c_str(), (unsigned char*)mInitialisationVector, -1) != 1) #endif |