diff --git a/src/libcrypto.c b/src/libcrypto.c index 9ef00cb7..dc3a24d5 100644 --- a/src/libcrypto.c +++ b/src/libcrypto.c @@ -43,6 +43,7 @@ #include #include #include +#include #include "libcrypto-compat.h" @@ -1129,6 +1130,7 @@ void ssh_crypto_finalize(void) return; } + ENGINE_cleanup(); #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_cleanup(); CRYPTO_cleanup_all_ex_data();