mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-12 22:11:29 +02:00
gpg: Fix regression in gpgv's printing of the keyid.
* g10/keyid.c (keystr): Take care of KF_NONE != KF_DEFAULT. -- Debian-bug-id: 836144 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
371ae66e9d
commit
76304a971f
@ -403,6 +403,8 @@ keystr (u32 *keyid)
|
|||||||
static char keyid_str[KEYID_STR_SIZE];
|
static char keyid_str[KEYID_STR_SIZE];
|
||||||
int format = opt.keyid_format;
|
int format = opt.keyid_format;
|
||||||
|
|
||||||
|
if (format == KF_DEFAULT)
|
||||||
|
format = KF_NONE;
|
||||||
if (format == KF_NONE)
|
if (format == KF_NONE)
|
||||||
format = KF_LONG;
|
format = KF_LONG;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user