freebsd-ports/devel/commoncpp/files/patch-src_ssl.cpp
2016-12-11 17:41:31 +00:00

11 lines
331 B
C++

--- src/ssl.cpp.orig 2010-11-01 00:42:51 UTC
+++ src/ssl.cpp
@@ -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;