diff --git a/httpd.c b/httpd.c index 70b0343..35d31de 100644 --- a/httpd.c +++ b/httpd.c @@ -151,9 +151,8 @@ static void stop_serve(int dummy) antd_scheduler_destroy(scheduler); unload_all_plugin(); #ifdef USE_OPENSSL - FIPS_mode_set(0); + // DEPRECATED FIPS_mode_set(0); SSL_CTX_free(ctx); - FIPS_mode_set(0); // DEPRECATED: CONF_modules_unload(1); EVP_cleanup(); EVP_PBE_cleanup(); diff --git a/lib/ws.c b/lib/ws.c index f0c1cbf..2338628 100644 --- a/lib/ws.c +++ b/lib/ws.c @@ -356,7 +356,7 @@ void ws_client_close(ws_client_t *wsclient) if (wsclient->ssl_ctx) { SSL_CTX_free(wsclient->ssl_ctx); - FIPS_mode_set(0); + // DEPRECATED: FIPS_mode_set(0); // DEPRECATED: CONF_modules_unload(1); EVP_cleanup(); EVP_PBE_cleanup();