From: Martin Kraemer Date: Mon, 15 Dec 2003 14:30:12 +0000 (+0000) Subject: We need the error strings loaded as early as possible X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee477f2864385be4206c662b54e6f422aaac8b3;p=thirdparty%2Fapache%2Fhttpd.git We need the error strings loaded as early as possible git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@102067 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/mod_ssl.c b/mod_ssl.c index 677cb9eb0a3..4deebb0782b 100644 --- a/mod_ssl.c +++ b/mod_ssl.c @@ -279,6 +279,7 @@ static int ssl_hook_pre_config(apr_pool_t *pconf, #ifdef HAVE_OPENSSL ERR_load_crypto_strings(); #endif + SSL_load_error_strings(); SSL_library_init(); #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES ENGINE_load_builtin_engines(); @@ -288,7 +289,6 @@ static int ssl_hook_pre_config(apr_pool_t *pconf, OPENSSL_load_builtin_modules(); #endif #endif - SSL_load_error_strings(); /* * Let us cleanup the ssl library when the module is unloaded