ser2net: moved to github
[openwrt/svn-archive/packages.git] / net / squid / patches / 002-no_sslv2.patch
1 --- a/src/ssl_support.c
2 +++ b/src/ssl_support.c
3 @@ -446,10 +446,12 @@ sslCreateServerContext(const char *certf
4 ERR_clear_error();
5 debug(83, 1) ("Initialising SSL.\n");
6 switch (version) {
7 +#ifndef OPENSSL_NO_SSL2
8 case 2:
9 debug(83, 5) ("Using SSLv2.\n");
10 method = SSLv2_server_method();
11 break;
12 +#endif
13 case 3:
14 debug(83, 5) ("Using SSLv3.\n");
15 method = SSLv3_server_method();