From: Joe Orton Date: Tue, 25 Nov 2003 12:46:32 +0000 (+0000) Subject: * modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85add34e7c601053eeeef42928de9004073ca685;p=thirdparty%2Fapache%2Fhttpd.git * modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): Determine the library version string at run-time rather than at compile-time. Submitted by: Eric Seidel PR: 23956 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@101879 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_vars.c b/ssl_engine_vars.c index fa4afca610a..6f3667866b0 100644 --- a/ssl_engine_vars.c +++ b/ssl_engine_vars.c @@ -608,7 +608,7 @@ static char *ssl_var_lookup_ssl_version(apr_pool_t *p, char *var) 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)