Blame SOURCES/mod_nss-invalid-protocol-setting.patch

49b7d4
From dc6afabbd94fa5b8e1da286ba387814e5df70ff1 Mon Sep 17 00:00:00 2001
49b7d4
From: Rob Crittenden <rcritten@redhat.com>
49b7d4
Date: Fri, 3 Feb 2017 08:06:14 -0500
49b7d4
Subject: [PATCH] Make an invalid protocol setting fatal
49b7d4
49b7d4
An invalid protocol setting would end up with the default
49b7d4
list which is a bit unexpected so kill the server and let
49b7d4
the admin figure out what went wrong and fix it.
49b7d4
49b7d4
Resolves BZ 1389114
49b7d4
---
49b7d4
 nss_engine_init.c | 1 +
49b7d4
 1 file changed, 1 insertion(+)
49b7d4
49b7d4
diff --git a/nss_engine_init.c b/nss_engine_init.c
49b7d4
index 03ac644..0bb2054 100644
49b7d4
--- a/nss_engine_init.c
49b7d4
+++ b/nss_engine_init.c
49b7d4
@@ -785,6 +785,7 @@ static void nss_init_ctx_protocol(server_rec *s,
49b7d4
                     ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s,
49b7d4
                                  "%s:  Unknown protocol '%s' not supported",
49b7d4
                                  protocol_marker, token);
49b7d4
+                    nss_die();
49b7d4
                 }
49b7d4
             }
49b7d4
         }
49b7d4
-- 
49b7d4
2.9.3
49b7d4