svn commit: r421649 - head/devel/thrift-cpp/files

John Marino marino at FreeBSD.org
Sat Sep 10 02:52:05 UTC 2016


Author: marino
Date: Sat Sep 10 02:52:04 2016
New Revision: 421649
URL: https://svnweb.freebsd.org/changeset/ports/421649

Log:
  devel/thrift-cpp: Add forgotten SSLv3 handling patch from previous commit

Added:
  head/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_TSSLSocket.cpp   (contents, props changed)

Added: head/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_TSSLSocket.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_TSSLSocket.cpp	Sat Sep 10 02:52:04 2016	(r421649)
@@ -0,0 +1,13 @@
+--- lib/cpp/src/thrift/transport/TSSLSocket.cpp.orig	2015-09-25 02:24:34 UTC
++++ lib/cpp/src/thrift/transport/TSSLSocket.cpp
+@@ -139,8 +139,10 @@ static char uppercase(char c);
+ SSLContext::SSLContext(const SSLProtocol& protocol) {
+   if (protocol == SSLTLS) {
+     ctx_ = SSL_CTX_new(SSLv23_method());
++#ifndef OPENSSL_NO_SSL3
+   } else if (protocol == SSLv3) {
+     ctx_ = SSL_CTX_new(SSLv3_method());
++#endif
+   } else if (protocol == TLSv1_0) {
+     ctx_ = SSL_CTX_new(TLSv1_method());
+   } else if (protocol == TLSv1_1) {


More information about the svn-ports-all mailing list