fail to load without providing an error message of their own.
Submitted by: minfrin
Backported by: minfrin
Reviewed by: minfrin, sf, rjung
Backport of r1418655 from turnk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1420072 13f79535-47bb-0310-9956-
ffa450edef68
+1 gsmith, rjung: provided you also include this fix for Windows
http://svn.apache.org/viewvc?view=revision&revision=1419084
- * mod_session_crypto: Protect ourselves against underlying libraries who
- fail to load without providing an error message of their own.
- trunk patch: http://svn.apache.org/viewvc?rev=1418655&view=rev
- 2.4.x patch: trunk patch works
- +1: minfrin, sf, rjung
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
}
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) {