From 3e826b62b9b23c67bc85fc954d2c20480b2667da Mon Sep 17 00:00:00 2001 From: jsing Date: Sat, 11 Mar 2023 14:29:02 +0000 Subject: [PATCH] Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup(). Issue reported by Graham Percival (@gperciva) ok tb@ --- lib/libcrypto/crypto_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libcrypto/crypto_init.c b/lib/libcrypto/crypto_init.c index 69ba62991e5..351b8ce09da 100644 --- a/lib/libcrypto/crypto_init.c +++ b/lib/libcrypto/crypto_init.c @@ -77,6 +77,7 @@ OPENSSL_cleanup(void) /* This currently calls init... */ ERR_free_strings(); + CRYPTO_cleanup_all_ex_data(); ENGINE_cleanup(); EVP_cleanup(); x509_issuer_cache_free(); -- 2.20.1