mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Add some missing cleanup calls to de-init
OBJ_cleanup() doesn't always get called from EVP_cleanup() so needs to be explicitly called in de-init. Also BIO_sock_cleanup() also needs to be called. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
a87c159f19
commit
b10cdcce00
@ -483,7 +483,9 @@ void OPENSSL_cleanup(void)
|
||||
ENGINE_cleanup();
|
||||
#endif
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
BIO_sock_cleanup();
|
||||
EVP_cleanup();
|
||||
OBJ_cleanup();
|
||||
CONF_modules_free();
|
||||
RAND_cleanup();
|
||||
base_inited = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user