mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 19:25:53 +02:00
fix memory leak in CipherImpl with OpenSSL 1.1.x
This commit is contained in:
@@ -119,6 +119,7 @@ namespace
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
EVP_CIPHER_CTX_cleanup(_pContext);
|
||||
EVP_CIPHER_CTX_free(_pContext);
|
||||
#else
|
||||
EVP_CIPHER_CTX_cleanup(&_context);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user