mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +01:00
fix openssl deprecate functions
This commit is contained in:
parent
fa750a74b2
commit
f9f0545899
7
httpd.c
7
httpd.c
@ -89,11 +89,12 @@ void stop_serve(int dummy) {
|
|||||||
FIPS_mode_set(0);
|
FIPS_mode_set(0);
|
||||||
SSL_CTX_free(ctx);
|
SSL_CTX_free(ctx);
|
||||||
FIPS_mode_set(0);
|
FIPS_mode_set(0);
|
||||||
CONF_modules_unload(1);
|
// DEPRECATED: CONF_modules_unload(1);
|
||||||
EVP_cleanup();
|
EVP_cleanup();
|
||||||
ENGINE_cleanup();
|
EVP_PBE_cleanup();
|
||||||
|
// DEPRECATED:ENGINE_cleanup();
|
||||||
CRYPTO_cleanup_all_ex_data();
|
CRYPTO_cleanup_all_ex_data();
|
||||||
ERR_remove_state(0);
|
// DEPRECATED: ERR_remove_state(0);
|
||||||
ERR_free_strings();
|
ERR_free_strings();
|
||||||
#endif
|
#endif
|
||||||
if(server_sock != -1)
|
if(server_sock != -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user