From a188a95f2c63fad27436372a9c671fe84a816a60 Mon Sep 17 00:00:00 2001 From: crypto-ape <43807588+crypto-ape@users.noreply.github.com> Date: Tue, 2 Apr 2019 12:33:04 +0200 Subject: [PATCH] extend openssl cleanup --- src/crypto/openssl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crypto/openssl.cpp b/src/crypto/openssl.cpp index 215708d..3f8df03 100644 --- a/src/crypto/openssl.cpp +++ b/src/crypto/openssl.cpp @@ -39,7 +39,10 @@ namespace fc ~openssl_scope() { + FIPS_mode_set(0); + CONF_modules_unload(1); EVP_cleanup(); + CRYPTO_cleanup_all_ex_data(); ERR_free_strings(); } };