[libsoup] Temporarily redo the TLS compatibility patch
- From: Dan Winship <danw src gnome org>
- To: svn-commits-list gnome org
- Subject: [libsoup] Temporarily redo the TLS compatibility patch
- Date: Mon, 18 May 2009 12:27:06 -0400 (EDT)
commit 67550155116e9d6bcfe6b1adbc96fdf6d2b03c4f
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]