[arch-commits] Commit in thrift/trunk (sslv23.patch)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Mar 4 21:16:26 UTC 2016
Date: Friday, March 4, 2016 @ 22:16:25
Author: bpiotrowski
Revision: 164853
Add missing file
Added:
thrift/trunk/sslv23.patch
--------------+
sslv23.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
Added: sslv23.patch
===================================================================
--- sslv23.patch (rev 0)
+++ sslv23.patch 2016-03-04 21:16:25 UTC (rev 164853)
@@ -0,0 +1,13 @@
+diff --git a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+index 98c5326..cb8ef6e 100644
+--- a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
++++ b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+@@ -140,7 +140,7 @@ SSLContext::SSLContext(const SSLProtocol& protocol) {
+ if (protocol == SSLTLS) {
+ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == SSLv3) {
+- ctx_ = SSL_CTX_new(SSLv3_method());
++ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == TLSv1_0) {
+ ctx_ = SSL_CTX_new(TLSv1_method());
+ } else if (protocol == TLSv1_1) {
More information about the arch-commits
mailing list