diff options
| author | jsing <> | 2023-03-11 14:29:02 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-11 14:29:02 +0000 |
| commit | 55a8bf2c335dd6747114bf0bb76d8cb69c41fb49 (patch) | |
| tree | 88e8fdb58baa08703215640038090b201ffc6885 /src/lib/libcrypto/crypto_init.c | |
| parent | 2e5da2b49d0dfd3201a55a5bde6359c5a9a1c4f5 (diff) | |
| download | openbsd-55a8bf2c335dd6747114bf0bb76d8cb69c41fb49.tar.gz openbsd-55a8bf2c335dd6747114bf0bb76d8cb69c41fb49.tar.bz2 openbsd-55a8bf2c335dd6747114bf0bb76d8cb69c41fb49.zip | |
Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup().
Issue reported by Graham Percival (@gperciva)
ok tb@
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
| -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(); |
