packages/admin/monit/patches/001-no_sslv2.patch
pavlov 14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00

15 lines
381 B
Diff

--- monit-4.9/ssl.c.orig 2007-01-13 06:00:08.000000000 -0600
+++ monit-4.9/ssl.c 2007-03-03 20:18:16.000000000 -0600
@@ -663,9 +663,11 @@
ssl->method = SSLv23_client_method();
break;
+#ifndef OPENSSL_NO_SSLV2
case SSL_VERSION_SSLV2:
ssl->method = SSLv2_client_method();
break;
+#endif
case SSL_VERSION_SSLV3:
ssl->method = SSLv3_client_method();