mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
security/sslwrap: fix build with OpenSSL libs without SSLv2
PR: 198400 Submitted by: Bernard Spil <spil.oss@gmail.com>
This commit is contained in:
parent
c087e88443
commit
b70a676656
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383166
2 changed files with 16 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= sslwrap
|
PORTNAME= sslwrap
|
||||||
PORTVERSION= 2.0.6
|
PORTVERSION= 2.0.6
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= http://www.rickk.com/sslwrap/
|
MASTER_SITES= http://www.rickk.com/sslwrap/
|
||||||
DISTNAME= ${PORTNAME}
|
DISTNAME= ${PORTNAME}
|
||||||
|
|
15
security/sslwrap/files/patch-s_server.c
Normal file
15
security/sslwrap/files/patch-s_server.c
Normal file
|
@ -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);
|
Loading…
Add table
Reference in a new issue