summaryrefslogtreecommitdiffstats
path: root/web/attachments/463805-check_http.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/463805-check_http.c.diff')
-rw-r--r--web/attachments/463805-check_http.c.diff26
1 files changed, 26 insertions, 0 deletions
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 @@
1--- check_http.c.orig 2012-06-27 19:32:47.000000000 +0200
2+++ check_http.c 2013-06-25 21:08:19.000000000 +0200
3@@ -304,21 +304,22 @@
4 /* Fall through to -S option */
5 #endif
6 case 'S': /* use SSL */
7 #ifndef HAVE_SSL
8 usage4 (_("Invalid option - SSL is not available"));
9-#endif
10+#else
11 use_ssl = TRUE;
12 if (optarg == NULL || c != 'S')
13 ssl_version = 0;
14 else {
15 ssl_version = atoi(optarg);
16 if (ssl_version < 1 || ssl_version > 3)
17 usage4 (_("Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 (SSLv3)"));
18 }
19 if (specify_port == FALSE)
20 server_port = HTTPS_PORT;
21+#endif
22 break;
23 case SNI_OPTION:
24 use_sni = TRUE;
25 break;
26 case 'f': /* onredirect */