Replace SSLv3_client_method() with SSLv23_client_method()
This commit is contained in:
parent
3acdfb8d63
commit
a5c80a1200
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2015/03/16 18:07:39 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2015/07/18 18:43:30 jca Exp $
|
||||
|
||||
COMMENT= GNU project portable class framework for C++
|
||||
|
||||
VER= 1.7.3
|
||||
DISTNAME= commoncpp2-${VER}
|
||||
PKGNAME= commoncpp-${VER}
|
||||
REVISION= 5
|
||||
REVISION= 6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=commoncpp/}
|
||||
|
||||
|
12
devel/commoncpp/patches/patch-src_ssl_cpp
Normal file
12
devel/commoncpp/patches/patch-src_ssl_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_ssl_cpp,v 1.1 2015/07/18 18:43:30 jca Exp $
|
||||
--- src/ssl.cpp.orig Fri Jan 16 05:27:00 2009
|
||||
+++ src/ssl.cpp Sat Jul 18 12:12:03 2015
|
||||
@@ -386,7 +386,7 @@ bool SSLStream::getSession(void)
|
||||
if(so == INVALID_SOCKET)
|
||||
return false;
|
||||
|
||||
- ctx = SSL_CTX_new(SSLv3_client_method());
|
||||
+ ctx = SSL_CTX_new(SSLv23_client_method());
|
||||
if(!ctx) {
|
||||
SSL_CTX_free(ctx);
|
||||
return false;
|
Loading…
Reference in New Issue
Block a user