summaryrefslogtreecommitdiff
path: root/security/sslwrap/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/sslwrap/files')
-rw-r--r--security/sslwrap/files/patch-s_server.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/sslwrap/files/patch-s_server.c b/security/sslwrap/files/patch-s_server.c
new file mode 100644
index 000000000000..64c86f1c3f1f
--- /dev/null
+++ b/security/sslwrap/files/patch-s_server.c
@@ -0,0 +1,15 @@
+--- s_server.c.orig 2000-11-11 22:11:18 UTC
++++ s_server.c
+@@ -137,6 +137,12 @@ static RSA MS_CALLBACK *tmp_rsa_cb(SSL *
+ , int keylen
+ #endif
+ );
++#if defined(OPENSSL_NO_SSL2)
++#define NO_SSL2
++#endif
++#if defined(OPENSSL_NO_SSL3)
++#define NO_SSL3
++#endif
+ static int sv_body(char *hostname, int sin, int sout);
+ static void close_accept_socket(void );
+ static void sv_usage(void);