nixpkgs/pkgs/desktops/gnome-2.28/desktop/libsoup/2.31.gnutls.patch
Michael Raskin 80e2d957e6 Add a patch to work around GNU TLS behavior
svn path=/nixpkgs/trunk/; revision=22540
2010-07-08 20:38:48 +00:00

13 lines
574 B
Diff

diff --git a/libsoup/soup-gnutls.c b/libsoup/soup-gnutls.c
--- a/libsoup/soup-gnutls.c
+++ b/libsoup/soup-gnutls.c
@@ -477,7 +477,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:!VERS-TLS1.1:!VERS-TLS1.0", NULL) != 0)
+ if (gnutls_priority_set_direct (session, "NORMAL:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0", NULL) != 0)
goto THROW_CREATE_ERROR;
if (gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE,