Commit 07ca859d authored by Doug MacEachern's avatar Doug MacEachern
Browse files

bringing back MOD_SSL_VERSION macro, define it to AP_SERVER_BASEVERSION


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94231 13f79535-47bb-0310-9956-ffa450edef68
parent 95682a68
Loading
Loading
Loading
Loading
+2 −0
Changes for mod_ssl.h: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -112,6 +112,8 @@
#include "apr_shm.h"
#include "apr_optional.h"

#define MOD_SSL_VERSION AP_SERVER_BASEVERSION

/* OpenSSL headers */
#include <ssl.h>
#include <err.h>
+1 −1
Changes for ssl_engine_pphrase.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -718,7 +718,7 @@ int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify, void *srv)
         */
        if (*pnPassPhraseDialog == 1) {
            apr_file_printf(writetty, "%s mod_ssl/%s (Pass Phrase Dialog)\n",
                            AP_SERVER_BASEVERSION, AP_SERVER_BASEREVISION);
                            AP_SERVER_BASEVERSION, MOD_SSL_VERSION);
            apr_file_printf(writetty, "Some of your private key files are encrypted for security reasons.\n");
            apr_file_printf(writetty, "In order to read them you have to provide us with the pass phrases.\n");
        }
+1 −1
Changes for ssl_engine_vars.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -601,7 +601,7 @@ static char *ssl_var_lookup_ssl_version(apr_pool_t *p, char *var)
#endif
    }
    else if (strEQ(var, "INTERFACE")) {
        result = apr_psprintf(p, "mod_ssl/%s", AP_SERVER_BASEREVISION);
        result = apr_psprintf(p, "mod_ssl/%s", MOD_SSL_VERSION);
    }
    else if (strEQ(var, "LIBRARY")) {
        result = apr_pstrdup(p, SSL_LIBRARY_TEXT);