Control: tags 624069 + pending

Dear maintainer,

I've prepared an NMU for libgwenhywfar (versioned as 4.14.0-1.1) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.

Regards.
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -Nru libgwenhywfar-4.14.0/debian/changelog libgwenhywfar-4.14.0/debian/changelog
--- libgwenhywfar-4.14.0/debian/changelog	2015-05-27 21:20:30.000000000 +0200
+++ libgwenhywfar-4.14.0/debian/changelog	2016-01-01 14:24:06.000000000 +0100
@@ -1,3 +1,11 @@
+libgwenhywfar (4.14.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * 10_gnutls34_compat.diff: Use gnutls_priority_set_direct instead of
+    gnutls_protocol_set_priority. Closes: #624069
+
+ -- Andreas Metzler <ametz...@debian.org>  Fri, 01 Jan 2016 14:23:20 +0100
+
 libgwenhywfar (4.14.0-1) unstable; urgency=medium
 
   * New upstream version 4.14.0
diff -Nru libgwenhywfar-4.14.0/debian/patches/10_gnutls34_compat.diff libgwenhywfar-4.14.0/debian/patches/10_gnutls34_compat.diff
--- libgwenhywfar-4.14.0/debian/patches/10_gnutls34_compat.diff	1970-01-01 01:00:00.000000000 +0100
+++ libgwenhywfar-4.14.0/debian/patches/10_gnutls34_compat.diff	2016-01-01 14:23:08.000000000 +0100
@@ -0,0 +1,24 @@
+Description: Stop using gnutls_protocol_set_priority.
+ Use gnutls_priority_set_direct instead of gnutls_protocol_set_priority. The
+ latter was warked deprecated in GnuTLS 2.12 and dropped in 3.4.
+Author: Andreas Metzler <ametz...@debian.org>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/624069
+
+--- libgwenhywfar-4.14.0.orig/src/sio/syncio_tls.c
++++ libgwenhywfar-4.14.0/src/sio/syncio_tls.c
+@@ -361,12 +361,10 @@ int GWEN_SyncIo_Tls_Prepare(GWEN_SYNCIO
+ 
+   /* possibly force protocol priority */
+   if (lflags & GWEN_SYNCIO_TLS_FLAGS_FORCE_SSL_V3) {
+-    const int proto_prio[2] = { GNUTLS_SSL3, 0 };
+-
+     DBG_INFO(GWEN_LOGDOMAIN, "Forcing SSL v3");
+-    rv=gnutls_protocol_set_priority(xio->session, proto_prio);
++    rv=gnutls_priority_set_direct(xio->session, "NORMAL:-VERS-TLS-ALL:+VERS-SSL3.0", NULL);
+     if (rv) {
+-      DBG_ERROR(GWEN_LOGDOMAIN, "gnutls_protocol_set_priority: %d (%s)", rv, gnutls_strerror(rv));
++      DBG_ERROR(GWEN_LOGDOMAIN, "gnutls_priority_set_direct: %d (%s)", rv, gnutls_strerror(rv));
+       gnutls_deinit(xio->session);
+       return GWEN_ERROR_GENERIC;
+     }
diff -Nru libgwenhywfar-4.14.0/debian/patches/series libgwenhywfar-4.14.0/debian/patches/series
--- libgwenhywfar-4.14.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libgwenhywfar-4.14.0/debian/patches/series	2016-01-01 14:18:48.000000000 +0100
@@ -0,0 +1 @@
+10_gnutls34_compat.diff

Attachment: signature.asc
Description: PGP signature

Reply via email to