Comply with Fedora system-wide crypto policy

This commit is contained in:
Michael Catanzaro 2016-06-15 10:34:17 -05:00
parent 34ca7946c8
commit 441e95cc5d
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From b5ef489deac4cb89c70232770930b500a943b77e Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Wed, 15 Jun 2016 10:29:50 -0500
Subject: [PATCH] Comply with Fedora system-wide crypto policy
https://bugzilla.redhat.com/show_bug.cgi?id=1179295
---
tls/gnutls/gtlsconnection-gnutls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index ca4730b..ea48586 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -213,7 +213,7 @@ g_tls_connection_gnutls_init (GTlsConnectionGnutls *gnutls)
/* First field is "fallback", second is "allow unsafe rehandshaking" */
static gnutls_priority_t priorities[2][2];
-#define DEFAULT_BASE_PRIORITY "NORMAL:%COMPAT:%LATEST_RECORD_VERSION"
+#define DEFAULT_BASE_PRIORITY "@SYSTEM:%COMPAT:%LATEST_RECORD_VERSION"
static void
g_tls_connection_gnutls_init_priorities (void)
--
2.7.4

View File

@ -10,6 +10,9 @@ License: LGPLv2+
URL: http://www.gnome.org
Source: http://download.gnome.org/sources/glib-networking/2.48/%{name}-%{version}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=1179295
Patch0: fedora-crypto-policy.patch
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: libproxy-devel
BuildRequires: gnutls-devel
@ -38,7 +41,7 @@ The glib-networking-tests package contains tests that can be used to verify
the functionality of the installed glib-networking package.
%prep
%setup -q
%autosetup -p1
%build
%configure --disable-static --with-libproxy --enable-installed-tests
@ -73,6 +76,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_datadir}/installed-tests
%changelog
* Wed Jun 15 2016 Michael Catanzaro <mcatanzaro@gnome.org> - 2.48.2-2
- Comply with Fedora system-wide crypto policy
* Mon May 09 2016 Kalev Lember <klember@redhat.com> - 2.48.2-1
- Update to 2.48.2