vikraman    15/07/08 04:18:22

  Added:                proxytunnel-allowTLS.patch
  Log:
  Add patch to enable TLS. Fixes bug 551278. Drop old.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
B0A72FD2)

Revision  Changes    Path
1.1                  net-misc/proxytunnel/files/proxytunnel-allowTLS.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/proxytunnel/files/proxytunnel-allowTLS.patch?rev=1.1&content-type=text/plain

Index: proxytunnel-allowTLS.patch
===================================================================
>From 2a26224b5ff103d2b8e2ff7be56e616d1ecde1f4 Mon Sep 17 00:00:00 2001
From: wicher <[email protected]>
Date: Sun, 26 Apr 2015 13:07:13 +0200
Subject: [PATCH] Allow TLS

---
 ptstream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ptstream.c b/ptstream.c
index 4c87c80..6d55137 100644
--- a/ptstream.c
+++ b/ptstream.c
@@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
        
        /* Initialise the connection */
        SSLeay_add_ssl_algorithms();
-       meth = SSLv3_client_method();
+       meth = SSLv23_client_method();
        SSL_load_error_strings();
 
        ctx = SSL_CTX_new (meth);




Reply via email to