mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
openssl update deprecated remove_state api
As suggested by svetlin-mladenov here https://github.com/warmcat/libwebsockets/issues/186 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
efe10b0f42
commit
040465d082
1 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ lws_ssl_destroy(struct libwebsocket_context *context)
|
|||
if (!context->user_supplied_ssl_ctx && context->ssl_client_ctx)
|
||||
SSL_CTX_free(context->ssl_client_ctx);
|
||||
|
||||
ERR_remove_state(0);
|
||||
ERR_remove_thread_state(NULL);
|
||||
ERR_free_strings();
|
||||
EVP_cleanup();
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
|
@ -613,7 +613,7 @@ lws_ssl_context_destroy(struct libwebsocket_context *context)
|
|||
if (!context->user_supplied_ssl_ctx && context->ssl_client_ctx)
|
||||
SSL_CTX_free(context->ssl_client_ctx);
|
||||
|
||||
ERR_remove_state(0);
|
||||
ERR_remove_thread_state(NULL);
|
||||
ERR_free_strings();
|
||||
EVP_cleanup();
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
|
|
Loading…
Add table
Reference in a new issue