From f9f0545899aa684d202d7777789843edb9faf1e8 Mon Sep 17 00:00:00 2001 From: lxsang Date: Fri, 8 Nov 2019 11:52:00 +0100 Subject: [PATCH] fix openssl deprecate functions --- httpd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/httpd.c b/httpd.c index 6cc0e10..2921b83 100644 --- a/httpd.c +++ b/httpd.c @@ -89,11 +89,12 @@ void stop_serve(int dummy) { FIPS_mode_set(0); SSL_CTX_free(ctx); FIPS_mode_set(0); - CONF_modules_unload(1); + // DEPRECATED: CONF_modules_unload(1); EVP_cleanup(); - ENGINE_cleanup(); + EVP_PBE_cleanup(); + // DEPRECATED:ENGINE_cleanup(); CRYPTO_cleanup_all_ex_data(); - ERR_remove_state(0); + // DEPRECATED: ERR_remove_state(0); ERR_free_strings(); #endif if(server_sock != -1)