From 86a0dfa65b55e1beee98d4709f91bac50068711d Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Wed, 18 Dec 2019 22:43:55 +0100 Subject: [PATCH] src: Adds the Engine header file and invokes cleanup of the engine Signed-off-by: Sahana Prasad Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/libcrypto.c | 2 ++ 1 file changed, 2 insertions(+) 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();