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. --- web/attachments/463805-check_http.c.diff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 web/attachments/463805-check_http.c.diff (limited to 'web/attachments/463805-check_http.c.diff') diff --git a/web/attachments/463805-check_http.c.diff b/web/attachments/463805-check_http.c.diff new file mode 100644 index 0000000..a56e1d7 --- /dev/null +++ b/web/attachments/463805-check_http.c.diff @@ -0,0 +1,26 @@ +--- check_http.c.orig 2012-06-27 19:32:47.000000000 +0200 ++++ check_http.c 2013-06-25 21:08:19.000000000 +0200 +@@ -304,21 +304,22 @@ + /* Fall through to -S option */ + #endif + case 'S': /* use SSL */ + #ifndef HAVE_SSL + usage4 (_("Invalid option - SSL is not available")); +-#endif ++#else + use_ssl = TRUE; + if (optarg == NULL || c != 'S') + ssl_version = 0; + else { + ssl_version = atoi(optarg); + if (ssl_version < 1 || ssl_version > 3) + usage4 (_("Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 (SSLv3)")); + } + if (specify_port == FALSE) + server_port = HTTPS_PORT; ++#endif + break; + case SNI_OPTION: + use_sni = TRUE; + break; + case 'f': /* onredirect */ -- cgit v1.2.3-74-g34f1