forked from pool/libsoup
OBS-URL: https://build.opensuse.org/request/show/48545 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=66
15 lines
737 B
Diff
15 lines
737 B
Diff
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,
|