summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2023-03-11 14:29:02 +0000
committerjsing <>2023-03-11 14:29:02 +0000
commit35110baf921b6dce1cf276a12a23a1e226a410dd (patch)
tree88e8fdb58baa08703215640038090b201ffc6885 /src/lib
parentdc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8 (diff)
downloadopenbsd-35110baf921b6dce1cf276a12a23a1e226a410dd.tar.gz
openbsd-35110baf921b6dce1cf276a12a23a1e226a410dd.tar.bz2
openbsd-35110baf921b6dce1cf276a12a23a1e226a410dd.zip
Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup().
Issue reported by Graham Percival (@gperciva) ok tb@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/crypto_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c
index 69ba62991e..351b8ce09d 100644
--- a/src/lib/libcrypto/crypto_init.c
+++ b/src/lib/libcrypto/crypto_init.c
@@ -77,6 +77,7 @@ OPENSSL_cleanup(void)
77 /* This currently calls init... */ 77 /* This currently calls init... */
78 ERR_free_strings(); 78 ERR_free_strings();
79 79
80 CRYPTO_cleanup_all_ex_data();
80 ENGINE_cleanup(); 81 ENGINE_cleanup();
81 EVP_cleanup(); 82 EVP_cleanup();
82 x509_issuer_cache_free(); 83 x509_issuer_cache_free();