Changes with Apache 2.4.13
+ *) mod_ssl: 'SSLProtocol ALL' was being ignored in virtual host context.
+ PR 57100. [Michael Kaufmann <apache-bugzilla michael-kaufmann.ch>,
+ Yann Ylavic]
+
*) mod_ssl: Fix renegotiation failures redirected to an ErrorDocument.
PR 57334. [Yann Ylavic].
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_ssl: Fix merge of SSLProtocol ALL in virtualhost context PR57100
- trunk patch: http://svn.apache.org/r1653997
- 2.4.x patch: trunk works
- +1: ylavic, covener, jim
-
* mod_alias: Introduce expression parser support for Alias, ScriptAlias
and Redirect.
trunk patch: http://svn.apache.org/r1653941
#endif
mctx->protocol = SSL_PROTOCOL_ALL;
+ mctx->protocol_set = 0;
mctx->pphrase_dialog_type = SSL_PPTYPE_UNSET;
mctx->pphrase_dialog_path = NULL;
modssl_ctx_t *add,
modssl_ctx_t *mrg)
{
- cfgMerge(protocol, SSL_PROTOCOL_ALL);
+ if (add->protocol_set) {
+ mrg->protocol = add->protocol;
+ }
+ else {
+ mrg->protocol = base->protocol;
+ }
cfgMerge(pphrase_dialog_type, SSL_PPTYPE_UNSET);
cfgMergeString(pphrase_dialog_path);
{
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
+ sc->server->protocol_set = 1;
return ssl_cmd_protocol_parse(cmd, arg, &sc->server->protocol);
}
{
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
+ sc->proxy->protocol_set = 1;
return ssl_cmd_protocol_parse(cmd, arg, &sc->proxy->protocol);
}