[libetpan] 1.6-2
Andreas Bierfert
awjb at fedoraproject.org
Tue Feb 3 13:06:13 UTC 2015
commit 5f6dc74348e1969d955f44753ed37a773751feeb
Author: Andreas Bierfert <andreas.bierfert at lowlatency.de>
Date: Tue Feb 3 14:06:03 2015 +0100
1.6-2
- utilize system-wide crypto-policy (rhbz#1179310)
libetpan-cryptopolicy.patch | 11 +++++++++++
libetpan.spec | 7 +++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/libetpan-cryptopolicy.patch b/libetpan-cryptopolicy.patch
new file mode 100644
index 0000000..6d11017
--- /dev/null
+++ b/libetpan-cryptopolicy.patch
@@ -0,0 +1,11 @@
+diff -up libetpan-1.6/src/data-types/mailstream_ssl.c.orig libetpan-1.6/src/data-types/mailstream_ssl.c
+--- libetpan-1.6/src/data-types/mailstream_ssl.c.orig 2015-02-03 13:58:14.819035381 +0100
++++ libetpan-1.6/src/data-types/mailstream_ssl.c 2015-02-03 13:59:57.805757755 +0100
+@@ -566,7 +566,6 @@ static struct mailstream_ssl_data * ssl_
+ gnutls_certificate_set_retrieve_function(xcred, mailstream_gnutls_client_cert_cb);
+ #endif
+ gnutls_set_default_priority(session);
+- gnutls_priority_set_direct(session, "NORMAL", NULL);
+
+ gnutls_record_disable_padding(session);
+ gnutls_dh_set_prime_bits(session, 512);
diff --git a/libetpan.spec b/libetpan.spec
index 369e086..d75ab8c 100644
--- a/libetpan.spec
+++ b/libetpan.spec
@@ -9,6 +9,9 @@ URL: http://www.etpan.org/
# https://github.com/dinhviethoa/%{name}/archive/%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Patch0: libetpan-multiarch.patch
+# system crypto policy (see rhbz#1179310)
+Patch10: libetpan-cryptopolicy.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: liblockfile-devel
@@ -89,6 +92,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
+* Tue Feb 03 2015 Andreas Bierfert <andreas.bierfert at lowlatency.de>
+- 1.6-2
+- utilize system-wide crypto-policy (rhbz#1179310)
+
* Sat Nov 01 2014 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 1.6-1
- version upgrade (rhbz#1159493)
More information about the scm-commits
mailing list