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

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