Replace SSLv3_client_method() with SSLv23_client_method().
This commit is contained in:
parent
0250c2981f
commit
4d7288922d
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2015/05/29 07:33:21 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2015/07/18 16:36:22 jca Exp $
|
||||
|
||||
COMMENT= netcat-like program with transparent SSL support
|
||||
|
||||
DISTNAME= nssl.005
|
||||
PKGNAME= nssl-005
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://nssl.sourceforge.net/
|
||||
|
12
net/nssl/patches/patch-sslut_c
Normal file
12
net/nssl/patches/patch-sslut_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-sslut_c,v 1.1 2015/07/18 16:36:22 jca Exp $
|
||||
--- sslut.c.orig Sat Jul 18 10:34:52 2015
|
||||
+++ sslut.c Sat Jul 18 10:34:58 2015
|
||||
@@ -17,7 +17,7 @@ int ssl_init_connect (SSL **ssl_socket, SSL_CTX **ctx)
|
||||
{
|
||||
SSLeay_add_ssl_algorithms ();
|
||||
|
||||
- if((*ctx = SSL_CTX_new (SSLv3_client_method())) == NULL)
|
||||
+ if((*ctx = SSL_CTX_new (SSLv23_client_method())) == NULL)
|
||||
{
|
||||
fprintf (stderr, "could not initialize SSL_CTX structure\n");
|
||||
return (-1);
|
Loading…
Reference in New Issue
Block a user