File libsoup-gnutls-allow-tls.patch of Package libsoup

Index: libsoup-2.31.92/libsoup/soup-gnutls.c
===================================================================
--- libsoup-2.31.92.orig/libsoup/soup-gnutls.c
+++ libsoup-2.31.92/libsoup/soup-gnutls.c
@@ -477,7 +477,8 @@ soup_ssl_wrap_iochannel (GIOChannel *soc
 		goto THROW_CREATE_ERROR;
 
 	/* See http://bugzilla.gnome.org/show_bug.cgi?id=581342 */
-	if (gnutls_priority_set_direct (session, "NORMAL:!VERS-TLS1.2:!VERS-TLS1.1:!VERS-TLS1.0", NULL) != 0)
+	/* This is what nss uses by default, see https://bugzilla.novell.com/show_bug.cgi?id=634040#c7 */
+	if (gnutls_priority_set_direct (session, "NORMAL:%COMPAT:!VERS-TLS1.1", NULL) != 0)
 		goto THROW_CREATE_ERROR;
 
 	if (gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE,
openSUSE Build Service is sponsored by