diff options
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.txt | 14 |
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) | ||