ee940c97361bac17be5b19109186f0790d7f55b3
[openwrt/svn-archive/archive.git] / net / squid / patches / 002-no_sslv2.patch
1 Index: squid-2.6.STABLE14/src/ssl_support.c
2 ===================================================================
3 --- squid-2.6.STABLE14.orig/src/ssl_support.c 2007-07-25 16:04:15.000000000 -0500
4 +++ squid-2.6.STABLE14/src/ssl_support.c 2007-07-25 16:04:15.000000000 -0500
5 @@ -442,10 +442,12 @@
6 ERR_clear_error();
7 debug(83, 1) ("Initialising SSL.\n");
8 switch (version) {
9 +#ifndef OPENSSL_NO_SSL2
10 case 2:
11 debug(83, 5) ("Using SSLv2.\n");
12 method = SSLv2_server_method();
13 break;
14 +#endif
15 case 3:
16 debug(83, 5) ("Using SSLv3.\n");
17 method = SSLv3_server_method();