mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-22 07:01:12 +01:00
CipherImpl: Fix small error with OpenSSL 1.1
EVP_CIPHER_CTX_cleanup is deprecated in 1.1. Replaced by _reset. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2471aa19d3
commit
8b0ea3b538
@ -130,7 +130,7 @@ namespace
|
||||
CryptoTransformImpl::~CryptoTransformImpl()
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
EVP_CIPHER_CTX_cleanup(_pContext);
|
||||
EVP_CIPHER_CTX_reset(_pContext);
|
||||
EVP_CIPHER_CTX_free(_pContext);
|
||||
#else
|
||||
EVP_CIPHER_CTX_cleanup(&_context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user