Utilize system-wide crypto-policies (#1179285)

Signed-off-by: Petr Hracek <phracek@redhat.com>
This commit is contained in:
Petr Hracek 2015-05-11 13:52:32 +02:00
parent 4b0f206291
commit 989184d6d6
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/gnutls.c b/src/gnutls.c
index d363fea..981f127 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -776,7 +776,7 @@ one trustfile (usually a CA bundle). */)
gnutls_certificate_credentials_t x509_cred = NULL;
gnutls_anon_client_credentials_t anon_cred = NULL;
Lisp_Object global_init;
- char const *priority_string_ptr = "NORMAL"; /* default priority string. */
+ char const *priority_string_ptr = "@SYSTEM"; /* default priority string. */
unsigned int peer_verification;
char* c_hostname;

View File

@ -5,7 +5,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 24.5
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv3+ and CC0-1.0
URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors
@ -27,6 +27,7 @@ Patch1: emacs-spellchecker.patch
# Fix for default PDF viewer bug #971162
Patch2: emacs-pdf-default.patch
Patch3: emacs-grep-deprecated.patch
Patch4: emacs-system-crypto-policies.patch
BuildRequires: atk-devel
BuildRequires: cairo-devel
@ -188,6 +189,7 @@ packages that add functionality to Emacs.
%patch1 -p1 -b .spellchecker
%patch2 -p1 -b .pdf-default.patch
%patch3 -p1 -b .grep-deprecated
%patch4 -p1 -b .system-crypto-policies
autoconf
# We prefer our emacs.desktop file
@ -479,6 +481,9 @@ update-desktop-database &> /dev/null || :
%dir %{_datadir}/emacs/site-lisp/site-start.d
%changelog
* Mon May 11 2015 Petr Hracek <phracek@kiasportyw-brq-redhat-com> - 1:24.5-3
- Utilize system-wide crypto-policies (#1179285)
* Wed Apr 22 2015 Petr Hracek <phracek@redhat.com> - 1:24.5-2
- Build with ACL support (#1208945)