1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-08 21:18:51 +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:
Werner Koch 2024-07-01 09:21:49 +02:00
parent 28a080bc9f
commit 0c34edc443
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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;