disable SSLv2
[openwrt/svn-archive/archive.git] / admin / monit / patches / 01-no_sslv2.patch
1 diff -ruN monit-4.6-old/ssl.c monit-4.6-new/ssl.c
2 --- monit-4.6-old/ssl.c 2005-08-07 22:26:47.000000000 +0200
3 +++ monit-4.6-new/ssl.c 2006-12-18 11:18:46.000000000 +0100
4 @@ -1367,10 +1367,12 @@
5 ssl->method = SSLv23_client_method();
6 break;
7
8 +#ifndef OPENSSL_NO_SSL2
9 case SSL_VERSION_SSLV2:
10
11 ssl->method = SSLv2_client_method();
12 break;
13 +#endif
14
15 case SSL_VERSION_SSLV3:
16