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

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