From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt (limited to 'web/attachments/392414-nagios-plugins-1.4.15-sslworkarounds.patch.txt') 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 @@ +--- nagios-plugins-1.4.15-orig/plugins/sslutils.c 2010-07-27 16:47:16.000000000 -0400 ++++ nagios-plugins-1.4.15/plugins/sslutils.c 2010-11-06 08:45:59.000000000 -0400 +@@ -51,6 +51,11 @@ + printf ("%s\n", _("CRITICAL - Cannot create SSL context.")); + return STATE_CRITICAL; + } ++#ifndef SSL_enforce_sanity ++ if (c) { ++ SSL_CTX_set_options(c,SSL_OP_ALL); ++ } ++#endif + if ((s = SSL_new (c)) != NULL){ + #ifdef SSL_set_tlsext_host_name + if (host_name != NULL) -- cgit v1.2.3-74-g34f1