1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Add a warning if protocol given in SSLProtocol or SSLProxyProtocol will override other parameters given in the same directive.

This could be a missing + or - prefix.

PR 52820

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2013-09-05 22:30:59 +00:00
parent dedba685f4
commit b663bd4a01
2 changed files with 8 additions and 1 deletions

View File

@@ -1352,6 +1352,13 @@ static const char *ssl_cmd_protocol_parse(cmd_parms *parms,
*options |= thisopt;
}
else {
if (*options != SSL_PROTOCOL_NONE)
{
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, parms->server, APLOGNO(02532)
"Protocol '%s' of directive '%s' overrides already set parameters. "
"Check if a prefix is not missing.",
w, parms->cmd->name);
}
*options = thisopt;
}
}