From: jsing Date: Sat, 11 Mar 2023 14:29:02 +0000 (+0000) Subject: Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3e826b62b9b23c67bc85fc954d2c20480b2667da;p=openbsd Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup(). Issue reported by Graham Percival (@gperciva) ok tb@ --- 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();