aboutsummaryrefslogtreecommitdiffstats
path: root/main/loudmouth/gnutls-3.4.0.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-21 05:57:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-21 08:57:06 +0000
commit03032e47e817a81f17b470f2e37dc2f758c41bd8 (patch)
treec1f60e23cd5e3c0c9ed0a99a0b68f9bfb96ce5cb /main/loudmouth/gnutls-3.4.0.patch
parent3bb622f86b9d7ae55933192765ad512f6a697615 (diff)
downloadaports-03032e47e817a81f17b470f2e37dc2f758c41bd8.tar.gz
aports-03032e47e817a81f17b470f2e37dc2f758c41bd8.tar.bz2
aports-03032e47e817a81f17b470f2e37dc2f758c41bd8.tar.xz
main/loudmouth: rebuild against gnutls-3.4
Diffstat (limited to 'main/loudmouth/gnutls-3.4.0.patch')
-rw-r--r--main/loudmouth/gnutls-3.4.0.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/loudmouth/gnutls-3.4.0.patch b/main/loudmouth/gnutls-3.4.0.patch
new file mode 100644
index 0000000000..4f2e8c6f4d
--- /dev/null
+++ b/main/loudmouth/gnutls-3.4.0.patch
@@ -0,0 +1,20 @@
+--- a/loudmouth/lm-ssl-gnutls.c 2008-10-29 14:45:10.000000000 +0100
++++ b/loudmouth/lm-ssl-gnutls.c.new 2015-04-17 22:35:06.703672306 +0200
+@@ -196,17 +196,9 @@
+ {
+ int ret;
+ gboolean auth_ok = TRUE;
+- const int cert_type_priority[] =
+- { GNUTLS_CRT_X509, GNUTLS_CRT_OPENPGP, 0 };
+- const int compression_priority[] =
+- { GNUTLS_COMP_DEFLATE, GNUTLS_COMP_NULL, 0 };
+
+ gnutls_init (&ssl->gnutls_session, GNUTLS_CLIENT);
+ gnutls_set_default_priority (ssl->gnutls_session);
+- gnutls_certificate_type_set_priority (ssl->gnutls_session,
+- cert_type_priority);
+- gnutls_compression_set_priority (ssl->gnutls_session,
+- compression_priority);
+ gnutls_credentials_set (ssl->gnutls_session,
+ GNUTLS_CRD_CERTIFICATE,
+ ssl->gnutls_xcred);