]> granicus.if.org Git - apache/commitdiff
We need the error strings loaded as early as possible
authorMartin Kraemer <martin@apache.org>
Mon, 15 Dec 2003 14:30:12 +0000 (14:30 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 15 Dec 2003 14:30:12 +0000 (14:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102067 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/mod_ssl.c

index 677cb9eb0a3718e9a83d4cb53bf5a54be8ca4c4e..4deebb0782bad18d59c983f48eefefa87feae9f3 100644 (file)
@@ -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