Permalink
Browse files

mod_session_crypto: Protect ourselves against underlying libraries who

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
  • Loading branch information...
1 parent bb1d6ac commit d098e9c1ad9680873163363ce84091750bc6880d @minfrin minfrin committed Dec 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/session/mod_session_crypto.c
@@ -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) {

0 comments on commit d098e9c

Please sign in to comment.