ERR_remove_state is deprecated, use ERR_remove_thread_state instead.
This commit is contained in:
parent
8815161b24
commit
628e3ca9fe
@ -63,7 +63,11 @@ public:
|
||||
::CRYPTO_set_id_callback(0);
|
||||
::CRYPTO_set_locking_callback(0);
|
||||
::ERR_free_strings();
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
::ERR_remove_thread_state(NULL);
|
||||
#else // (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
::ERR_remove_state(0);
|
||||
#endif // (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
||||
::EVP_cleanup();
|
||||
::CRYPTO_cleanup_all_ex_data();
|
||||
::CONF_modules_unload(1);
|
||||
|
Loading…
Reference in New Issue
Block a user