mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Make --with-sig-check with -with --show-key in non-colon mode.
* g10/keylist.c (list_keyblock_direct): Set check_sigs.
This commit is contained in:
parent
28a080bc9f
commit
0c34edc443
@ -2414,6 +2414,8 @@ list_keyblock_direct (ctrl_t ctrl,
|
||||
|
||||
memset (&listctx, 0, sizeof (listctx));
|
||||
listctx.no_validity = !!no_validity;
|
||||
if (opt.check_sigs)
|
||||
listctx.check_sigs = 1;
|
||||
err = list_keyblock (ctrl, keyblock, secret, has_secret, fpr, &listctx);
|
||||
keylist_context_release (&listctx);
|
||||
return err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user