httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1418655 - /httpd/httpd/trunk/modules/session/mod_session_crypto.c
Date Sat, 08 Dec 2012 12:12:17 GMT
Author: minfrin
Date: Sat Dec  8 12:12:16 2012
New Revision: 1418655

URL: http://svn.apache.org/viewvc?rev=1418655&view=rev
Log:
mod_session_crypto: Protect ourselves against underlying libraries who
fail to load without providing an error message of their own.

Modified:
    httpd/httpd/trunk/modules/session/mod_session_crypto.c

Modified: httpd/httpd/trunk/modules/session/mod_session_crypto.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/mod_session_crypto.c?rev=1418655&r1=1418654&r2=1418655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/mod_session_crypto.c (original)
+++ httpd/httpd/trunk/modules/session/mod_session_crypto.c Sat Dec  8 12:12:16 2012
@@ -435,7 +435,7 @@ static int session_crypto_init(apr_pool_
         }
         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) {



Mime
View raw message