You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2012/12/08 13:12:17 UTC

svn commit: r1418655 - /httpd/httpd/trunk/modules/session/mod_session_crypto.c

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) {