Determine the library version string at run-time rather than at
compile-time.
Submitted by: Eric Seidel <eseidel@apple.com>
PR: 23956
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101879
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_ssl: SSL_VERSION_LIBRARY is set to the version string from the
+ SSL library used at run-time, rather than at compile-time.
+ PR: 23956 [Eric Seidel <eseidel apple.com>]
+
*) SECURITY [CAN-2003-0020]: Escape arbitrary data before writing
into the errorlog. [André Malo]
result = apr_psprintf(p, "mod_ssl/%s", MOD_SSL_VERSION);
}
else if (strEQ(var, "LIBRARY")) {
- result = apr_pstrdup(p, SSL_LIBRARY_TEXT);
+ result = apr_pstrdup(p, SSLeay_version(SSLEAY_VERSION));
if ((cp = strchr(result, ' ')) != NULL) {
*cp = '/';
if ((cp2 = strchr(cp, ' ')) != NULL)