summaryrefslogtreecommitdiffstats
path: root/web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt')
-rw-r--r--web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt b/web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt
new file mode 100644
index 0000000..ffe72ca
--- /dev/null
+++ b/web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt
@@ -0,0 +1,14 @@
1--- nagios-plugins-1.4.15-orig/plugins/sslutils.c 2010-07-27 16:47:16.000000000 -0400
2+++ nagios-plugins-1.4.15/plugins/sslutils.c 2010-11-06 08:45:59.000000000 -0400
3@@ -51,6 +51,11 @@
4 printf ("%s\n", _("CRITICAL - Cannot create SSL context."));
5 return STATE_CRITICAL;
6 }
7+#ifndef SSL_enforce_sanity
8+ if (c) {
9+ SSL_CTX_set_options(c,SSL_OP_ALL);
10+ }
11+#endif
12 if ((s = SSL_new (c)) != NULL){
13 #ifdef SSL_set_tlsext_host_name
14 if (host_name != NULL)