diff options
author | Graham Leggett <minfrin@apache.org> | 2012-12-08 13:12:16 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2012-12-08 13:12:16 +0100 |
commit | 48a3a922e2ea57af45c29c018a44bfd1921c7291 (patch) | |
tree | 1e213bb8d07924884496ec4f20183c8db3974085 /modules/session | |
parent | mod_cache_socache: Don't clean up too soon. If we do, revalidated requests (diff) | |
download | apache2-48a3a922e2ea57af45c29c018a44bfd1921c7291.tar.xz apache2-48a3a922e2ea57af45c29c018a44bfd1921c7291.zip |
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
Diffstat (limited to 'modules/session')
-rw-r--r-- | modules/session/mod_session_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c index f9e831da85..f48ff0385b 100644 --- a/modules/session/mod_session_crypto.c +++ b/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) { |