Replace SSLv3_client_method() with SSLv23_client_method()

This commit is contained in:
jca 2015-07-18 18:43:30 +00:00
parent 3acdfb8d63
commit a5c80a1200
2 changed files with 14 additions and 2 deletions

View File

@ -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/}

View 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;