[Pkg-gnupg-commit] [gnupg2] 18/292: gpg: Fix regression in fingerprint printing.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 998643666c016dbacf10f813c22efc97deadec65
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Sep 19 17:47:56 2016 +0200

    gpg: Fix regression in fingerprint printing.
    
    * g10/keylist.c (list_keyblock_print): Do not depend calling
    print_fingerprint on opt.keyid_format.
    --
    
    Regression-due-to: d757009a24eb856770fc3a3729e2f21f54d2a618
    Debian-bug-id: 838153
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g10/keylist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/keylist.c b/g10/keylist.c
index bef1e07..212d77e 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -909,7 +909,7 @@ list_keyblock_print (ctrl_t ctrl, kbnode_t keyblock, int secret, int fpr,
   /* Print the "pub" line and in KF_NONE mode the fingerprint.  */
   print_key_line (es_stdout, pk, secret);
 
-  if (fpr && opt.keyid_format != KF_NONE)
+  if (fpr)
     print_fingerprint (NULL, pk, 0);
 
   if (opt.with_keygrip && hexgrip)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list