disable SSLv2

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5843 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-12-18 17:07:01 +00:00
parent 2a2579dadc
commit fc340f1e60
3 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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: