* g10/keylist.c (list_keyblock_print): Set SECRET to 2 and not 0x32.
--
Reported-by: Danielle McLean <dani@00dani.me>
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit
547bc01d57528ecc27b3b5e16797967a7f88fecf)
Gbp-Pq: Name 0065-gpg-Fix-printing-of-offline-taken-subkey.patch
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. */