stunnel for kamikaze, contributed by coova, cleaned up by me. note: this requires V=99 so that you can specify cert params.. still ick, better option? put the variables as menu options? sorta ick too.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5596 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
14
net/stunnel/patches/102-no-ssl2.patch
Normal file
14
net/stunnel/patches/102-no-ssl2.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -baurN stunnel-4.16.orig/src/options.c stunnel-4.16/src/options.c
|
||||
--- stunnel-4.16.orig/src/options.c 2006-11-03 16:50:59.000000000 +0100
|
||||
+++ stunnel-4.16/src/options.c 2006-11-03 16:51:47.000000000 +0100
|
||||
@@ -957,8 +957,10 @@
|
||||
section->client_method=SSLv23_client_method;
|
||||
section->server_method=SSLv23_server_method;
|
||||
} else if(!strcasecmp(arg, "SSLv2")) {
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
section->client_method=SSLv2_client_method;
|
||||
section->server_method=SSLv2_server_method;
|
||||
+#endif
|
||||
} else if(!strcasecmp(arg, "SSLv3")) {
|
||||
section->client_method=SSLv3_client_method;
|
||||
section->server_method=SSLv3_server_method;
|
Reference in New Issue
Block a user