opnsense-ports/devel/commoncpp/files/patch-src_ssl.cpp
Franco Fichtner 9f0d4b60ad */*: sync with upstream
Taken from: FreeBSD
2016-12-12 07:56:30 +01: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;