[packages] cyrus-sasl: add libtool fixup, now it compiles for ppc target as well
[openwrt/svn-archive/archive.git] / net / stunnel / patches / 102-no-ssl2.patch
1 --- a/src/options.c
2 +++ b/src/options.c
3 @@ -1127,8 +1127,10 @@
4 section->client_method=SSLv23_client_method;
5 section->server_method=SSLv23_server_method;
6 } else if(!strcasecmp(arg, "SSLv2")) {
7 +#ifndef OPENSSL_NO_SSL2
8 section->client_method=SSLv2_client_method;
9 section->server_method=SSLv2_server_method;
10 +#endif
11 } else if(!strcasecmp(arg, "SSLv3")) {
12 section->client_method=SSLv3_client_method;
13 section->server_method=SSLv3_server_method;