[git] GnuPG - branch, master, updated. gnupg-2.1.20-17-g547bc01

by Werner Koch cvs at cvs.gnupg.org
Fri Apr 7 10:17:26 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  547bc01d57528ecc27b3b5e16797967a7f88fecf (commit)
      from  cc420d34880e2a050b39f969873974cfc35fa5c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 547bc01d57528ecc27b3b5e16797967a7f88fecf
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Apr 7 10:11:07 2017 +0200

    gpg: Fix printing of offline taken subkey.
    
    * g10/keylist.c (list_keyblock_print): Set SECRET to 2 and not 0x32.
    --
    
    Reported-by: Danielle McLean <dani at 00dani.me>
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/keylist.c b/g10/keylist.c
index 2b6ee9f..c75856f 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -1016,7 +1016,7 @@ list_keyblock_print (ctrl_t ctrl, kbnode_t keyblock, int secret, int fpr,
               if (!agent_get_keyinfo (NULL, hexgrip, &serialno, NULL))
                 secret = serialno? 3 : 1;
               else
-                secret = '2';  /* Key not found.  */
+                secret = 2;  /* Key not found.  */
             }
 
           /* Print the "sub" line.  */

-----------------------------------------------------------------------

Summary of changes:
 g10/keylist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list