packages/admin/monit/patches/01-no_sslv2.patch
nico fc340f1e60 disable SSLv2
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-18 17:07:01 +00:00

17 lines
398 B
Diff

diff -ruN monit-4.6-old/ssl.c monit-4.6-new/ssl.c
--- monit-4.6-old/ssl.c 2005-08-07 22:26:47.000000000 +0200
+++ monit-4.6-new/ssl.c 2006-12-18 11:18:46.000000000 +0100
@@ -1367,10 +1367,12 @@
ssl->method = SSLv23_client_method();
break;
+#ifndef OPENSSL_NO_SSL2
case SSL_VERSION_SSLV2:
ssl->method = SSLv2_client_method();
break;
+#endif
case SSL_VERSION_SSLV3: