]> granicus.if.org Git - apache/commitdiff
mod_ssl: revert r1685052, r1685078 and r1685097.
authorYann Ylavic <ylavic@apache.org>
Tue, 16 Jun 2015 11:53:13 +0000 (11:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 16 Jun 2015 11:53:13 +0000 (11:53 +0000)
Will remove the deprecation message in a follow up commit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685777 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/ssl/ssl_engine_config.c

diff --git a/CHANGES b/CHANGES
index d178390318a76941f99530be17d5dc8bb3f0bb6b..c8902fa7180f1811eb7bc70915123463c86ecfdd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,9 +8,6 @@ Changes with Apache 2.5.0
      using a pre-filled buffer, and log parsing failures at level INFO.
      [Yann Ylavic, Jeff Trawick]
 
-  *) mod_ssl: Warn about deprecated SSLCertificateChainFile once at startup,
-     on first usage only.  [Yann Ylavic]
-
   *) mod_substitute: Fix configuraton merge order.
      PR 57641 [<Marc.Stern approach.be>]
 
index 569922651af1ccab8ca6cc75459a46068739f85f..f85a8a0fb9b9cee377ec40eedc79ff8e93716ccd 100644 (file)
@@ -841,16 +841,11 @@ const char *ssl_cmd_SSLCertificateChainFile(cmd_parms *cmd,
     SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
     const char *err;
 
-    const char *once_key = "ssl_cmd_SSLCertificateChainFile";
-    if (!ap_retained_data_get(once_key)) {
-        ap_retained_data_create(once_key, sizeof(char));
-
-        ap_log_error(APLOG_MARK, APLOG_INFO|APLOG_STARTUP, 0, NULL,
-                     APLOGNO(02559)
-                     "The SSLCertificateChainFile directive (%s:%d) is "
-                     "deprecated, SSLCertificateFile should be used instead",
-                     cmd->directive->filename, cmd->directive->line_num);
-    }
+    ap_log_error(APLOG_MARK, APLOG_WARNING|APLOG_STARTUP, 0, NULL,
+                 APLOGNO(02559)
+                 "The SSLCertificateChainFile directive (%s:%d) is deprecated, "
+                 "SSLCertificateFile should be used instead",
+                 cmd->directive->filename, cmd->directive->line_num);
 
     if ((err = ssl_cmd_check_file(cmd, &arg))) {
         return err;