2015-10-14 08:06:30 +00:00
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1109119
|
|
|
|
|
|
|
|
Don't prepend !aNULL etc if PROFILE= is used with SSLCipherSuite.
|
|
|
|
|
2018-03-28 19:18:58 +00:00
|
|
|
--- httpd-2.4.33/modules/ssl/ssl_engine_config.c.sslciphdefault
|
|
|
|
+++ httpd-2.4.33/modules/ssl/ssl_engine_config.c
|
|
|
|
@@ -758,8 +758,10 @@
|
2015-10-14 08:06:30 +00:00
|
|
|
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
|
|
|
|
SSLDirConfigRec *dc = (SSLDirConfigRec *)dcfg;
|
|
|
|
|
|
|
|
- /* always disable null and export ciphers */
|
|
|
|
- arg = apr_pstrcat(cmd->pool, arg, ":!aNULL:!eNULL:!EXP", NULL);
|
|
|
|
+ /* Disable null and export ciphers by default, except for PROFILE=
|
|
|
|
+ * configs where the parser doesn't cope. */
|
|
|
|
+ if (strncmp(arg, "PROFILE=", 8) != 0)
|
|
|
|
+ arg = apr_pstrcat(cmd->pool, arg, ":!aNULL:!eNULL:!EXP", NULL);
|
|
|
|
|
|
|
|
if (cmd->path) {
|
|
|
|
dc->szCipherSuite = arg;
|
2018-03-28 19:18:58 +00:00
|
|
|
@@ -1502,8 +1504,10 @@
|
2015-10-14 08:06:30 +00:00
|
|
|
{
|
2018-03-28 19:18:58 +00:00
|
|
|
SSLDirConfigRec *dc = (SSLDirConfigRec *)dcfg;
|
2015-10-14 08:06:30 +00:00
|
|
|
|
|
|
|
- /* always disable null and export ciphers */
|
|
|
|
- arg = apr_pstrcat(cmd->pool, arg, ":!aNULL:!eNULL:!EXP", NULL);
|
|
|
|
+ /* Disable null and export ciphers by default, except for PROFILE=
|
|
|
|
+ * configs where the parser doesn't cope. */
|
|
|
|
+ if (strncmp(arg, "PROFILE=", 8) != 0)
|
|
|
|
+ arg = apr_pstrcat(cmd->pool, arg, ":!aNULL:!eNULL:!EXP", NULL);
|
|
|
|
|
2018-03-28 19:18:58 +00:00
|
|
|
dc->proxy->auth.cipher_suite = arg;
|
2015-10-14 08:06:30 +00:00
|
|
|
|