packages/net/apache/patches/006-remove-ssl3.patch
Hauke Mehrtens 51bbfb6013 apache: fix build without sslv3
SSLv3 support is deactivated in LEDE now, which causes a build problem
in apache.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-07-31 13:20:56 +02:00

13 lines
529 B
Diff

--- a/support/ab.c
+++ b/support/ab.c
@@ -2232,8 +2232,10 @@ int main(int argc, const char * const ar
} else if (strncasecmp(optarg, "SSL2", 4) == 0) {
meth = SSLv2_client_method();
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
} else if (strncasecmp(optarg, "SSL3", 4) == 0) {
meth = SSLv3_client_method();
+#endif
#ifdef HAVE_TLSV1_X
} else if (strncasecmp(optarg, "TLS1.1", 6) == 0) {
meth = TLSv1_1_client_method();