pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] security/gnupg: remove left-over debug message



From https://bugs.gnupg.org/gnupg/issue1934

   Since gnupg 1.4.19, gpg is emitting seemingly non-fatal debug
   messages that clutter the interface (...)
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/gnupg/distinfo,v
retrieving revision 1.67
diff -u -r1.67 distinfo
--- distinfo	4 Nov 2015 01:17:45 -0000	1.67
+++ distinfo	14 Nov 2015 18:55:13 -0000
@@ -5,3 +5,4 @@
 SHA512 (gnupg-1.4.19.tar.bz2) = cce2a83efb05f963ad0f8afd04999cc852889d46b4cad4cf399a37fd6e69f0911a5ccaa0192cb891a941cfa93125349b481efa789a127e3c0aa2c5ba53672741
 Size (gnupg-1.4.19.tar.bz2) = 3713811 bytes
 SHA1 (patch-ab) = 24e200a04f8f31e53e22dc80ed079570cb5de8d8
+SHA1 (patch-g10_armor.c) = 012804a0cfa4e5c0e30bc4ffc078177f9d9605fd
Index: patches/patch-g10_armor.c
===================================================================
RCS file: patches/patch-g10_armor.c
diff -N patches/patch-g10_armor.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-g10_armor.c	14 Nov 2015 18:55:13 -0000
@@ -0,0 +1,24 @@
+$NetBSD$
+
+commit 936416690e6c889505d84fe96983a66983beae5e
+Author: Werner Koch <wk%gnupg.org@localhost>
+Date:   Thu Feb 26 09:38:58 2015 +0100
+
+    gpg: Remove left-over debug message.
+
+    * g10/armor.c (check_input): Remove log_debug.
+
+diff --git a/g10/armor.c b/g10/armor.c
+index 6c0013d..de1726d 100644
+--- g10/armor.c
++++ g10/armor.c
+@@ -534,9 +534,6 @@ check_input( armor_filter_context_t *afx, IOBUF a )
+             /* This is probably input from a keyserver helper and we
+                have not yet seen an error line.  */
+             afx->key_failed_code = parse_key_failed_line (line+4, len-4);
+-            log_debug ("armor-keys-failed (%.*s) ->%d\n",
+-                       (int)len, line,
+-                       afx->key_failed_code);
+           }
+ 	if( i >= 0 && !(afx->only_keyblocks && i != 1 && i != 5 && i != 6 )) {
+ 	    hdr_line = i;

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index