mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
mod_ssl: revert r1685052, r1685078 and r1685097.
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
This commit is contained in:
3
CHANGES
3
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>]
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user