diff options
| author | jsing <> | 2023-03-11 14:29:02 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-11 14:29:02 +0000 |
| commit | 35110baf921b6dce1cf276a12a23a1e226a410dd (patch) | |
| tree | 88e8fdb58baa08703215640038090b201ffc6885 /src | |
| parent | dc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8 (diff) | |
| download | openbsd-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')
| -rw-r--r-- | src/lib/libcrypto/crypto_init.c | 1 |
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(); |
