]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version):
authorJoe Orton <jorton@apache.org>
Tue, 25 Nov 2003 12:46:32 +0000 (12:46 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 25 Nov 2003 12:46:32 +0000 (12:46 +0000)
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/modules/ssl@101879 13f79535-47bb-0310-9956-ffa450edef68

ssl_engine_vars.c

index fa4afca610ac134d979c2882ee0a3750a5802d13..6f3667866b01cb356c0449babdecbe7ca83270ab 100644 (file)
@@ -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)