From: Nicolas Thill Date: Mon, 18 Dec 2006 10:10:11 +0000 (+0000) Subject: fix build under WhiteRussian SDK (closes: #1044) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=998d4c3902e5ad8a4784f48c8dcc73dbe5d58b4e;p=openwrt%2Fsvn-archive%2Farchive.git fix build under WhiteRussian SDK (closes: #1044) SVN-Revision: 5832 --- diff --git a/net/squid/patches/02-no_sslv2.patch b/net/squid/patches/02-no_sslv2.patch new file mode 100644 index 0000000000..823b5c6207 --- /dev/null +++ b/net/squid/patches/02-no_sslv2.patch @@ -0,0 +1,16 @@ +diff -ruN squid-2.5.STABLE14-old/src/ssl_support.c squid-2.5.STABLE14-new/src/ssl_support.c +--- squid-2.5.STABLE14-old/src/ssl_support.c 2003-12-11 08:53:11.000000000 +0100 ++++ squid-2.5.STABLE14-new/src/ssl_support.c 2006-12-17 18:23:57.000000000 +0100 +@@ -291,10 +291,12 @@ + + debug(83, 1) ("Initialising SSL.\n"); + switch (version) { ++#ifndef OPENSSL_NO_SSL2 + case 2: + debug(83, 5) ("Using SSLv2.\n"); + method = SSLv2_server_method(); + break; ++#endif + case 3: + debug(83, 5) ("Using SSLv3.\n"); + method = SSLv3_server_method();