mirror of
https://github.com/novatiq/packages.git
synced 2026-07-29 23:03:06 +01:00
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>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
--- 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();
|
||||
Reference in New Issue
Block a user