]> granicus.if.org Git - apache/commitdiff
mod_session_crypto: Protect ourselves against underlying libraries who
authorGraham Leggett <minfrin@apache.org>
Sat, 8 Dec 2012 12:12:16 +0000 (12:12 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 8 Dec 2012 12:12:16 +0000 (12:12 +0000)
fail to load without providing an error message of their own.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418655 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_crypto.c

index f9e831da85a2e5b744fe73ce0238e016c49312cc..f48ff0385bd0cf9484d302d09454384bb1aaf544 100644 (file)
@@ -435,7 +435,7 @@ static int session_crypto_init(apr_pool_t *p, apr_pool_t *plog,
         }
         if (APR_SUCCESS != rv && err) {
             ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(01845)
-                    "%s", err->msg);
+                    "The crypto library '%s' could not be loaded: %s (%s: %d)", conf->library, err->msg, err->reason, err->rc);
             return rv;
         }
         if (APR_ENOTIMPL == rv) {