[libsoup/gnome-2-26: 28/29] Temporarily redo the TLS compatibility patch



commit 79f38e95f8f34de287c14095328bb72ea80aaf82
Author: Dan Winship <danw gnome org>
Date:   Mon May 18 10:04:39 2009 -0400

    Temporarily redo the TLS compatibility patch
    
    It broke tests/ssl-test on machines that support %SSL3_RECORD_VERSION.
    For now, we will just not use that flag, and instead always disable
    TLS 1.1. The gnutls problem has been reported upstream.
---
 libsoup/soup-gnutls.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libsoup/soup-gnutls.c b/libsoup/soup-gnutls.c
index d3d410d..90acb5b 100644
--- a/libsoup/soup-gnutls.c
+++ b/libsoup/soup-gnutls.c
@@ -447,8 +447,7 @@ soup_ssl_wrap_iochannel (GIOChannel *sock, gboolean non_blocking,
 		goto THROW_CREATE_ERROR;
 
 	/* See http://bugzilla.gnome.org/show_bug.cgi?id=581342 */
-	if (gnutls_priority_set_direct (session, "NORMAL:%SSL3_RECORD_VERSION", NULL) != 0 &&
-	    gnutls_priority_set_direct (session, "NORMAL:!VERS-TLS1.1", NULL) != 0)
+	if (gnutls_priority_set_direct (session, "NORMAL:!VERS-TLS1.1", NULL) != 0)
 		goto THROW_CREATE_ERROR;
 
 	if (gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]