summaryrefslogtreecommitdiffstats
path: root/modules/ssl/mod_ssl.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2019-02-07 14:38:12 +0100
committerYann Ylavic <ylavic@apache.org>2019-02-07 14:38:12 +0100
commit96b6041d70493676524769485d749f54fa93ea42 (patch)
treed2b2f03ac18a79980d0b8710048bb3d95a7ba6e6 /modules/ssl/mod_ssl.c
parent* server/core.c (core_pre_config): Reset state dir during pre_config. (diff)
downloadapache2-96b6041d70493676524769485d749f54fa93ea42.tar.xz
apache2-96b6041d70493676524769485d749f54fa93ea42.zip
mod_ssl: unset FIPS mode only if we set it.
If FIPS mode is set by default per openssl lib/module, we should not unset it on restart or it might never be set again. PR 63136 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853133 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/mod_ssl.c')
-rw-r--r--modules/ssl/mod_ssl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c
index 605d987c3d..d804db09d6 100644
--- a/modules/ssl/mod_ssl.c
+++ b/modules/ssl/mod_ssl.c
@@ -348,9 +348,6 @@ static apr_status_t ssl_cleanup_pre_config(void *data)
/*
* Try to kill the internals of the SSL library.
*/
-#ifdef HAVE_FIPS
- FIPS_mode_set(0);
-#endif
/* Corresponds to OBJ_create()s */
OBJ_cleanup();
/* Corresponds to OPENSSL_load_builtin_modules() */