mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
sample/https-client: replace ERR_remove_state() by ERR_remove_thread_state()
Since ERR_remove_state() is deprecated: $ git log --grep ERR_remove_thread_state commit 2ecd2ededece66bf090fefc93ef3ddb672d9e71a Author: Bodo Möller <bodo@openssl.org> Date: Wed Aug 13 19:30:01 2008 +0000 Mention ERR_remove_state() deprecation, and ERR_remove_thread_state(NULL). Link: https://www.openssl.org/docs/manmaster/crypto/ERR_remove_state.html
This commit is contained in:
parent
3316a21005
commit
77ad68a658
@ -471,7 +471,7 @@ cleanup:
|
||||
EVP_cleanup();
|
||||
ERR_free_strings();
|
||||
|
||||
ERR_remove_state(0);
|
||||
ERR_remove_thread_state(NULL);
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
|
||||
sk_SSL_COMP_free(SSL_COMP_get_compression_methods());
|
||||
|
Loading…
x
Reference in New Issue
Block a user