summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-05-18 10:04:39 -0400
committerDan Winship <danw@gnome.org>2009-05-18 10:07:25 -0400
commit79f38e95f8f34de287c14095328bb72ea80aaf82 (patch)
treefe5aab7efecc8e55b5fe3bd5785d6157feb03041
parent705ea934c3061693a9af093a9c877f649a4f7585 (diff)
downloadlibsoup-79f38e95f8f34de287c14095328bb72ea80aaf82.tar.gz
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.
-rw-r--r--libsoup/soup-gnutls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsoup/soup-gnutls.c b/libsoup/soup-gnutls.c
index d3d410df..90acb5b9 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,