diff options
author | Werner Koch <wk@gnupg.org> | 2024-07-01 09:21:49 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-07-01 09:21:49 +0200 |
commit | 0c34edc4435d8cce1eccee1e9e369c2744b49751 (patch) | |
tree | b5b601e85f02205c5e50093ca026e2ad6dc6b7a3 | |
parent | gpg-mail-tube: New utility. (diff) | |
download | gnupg2-0c34edc4435d8cce1eccee1e9e369c2744b49751.tar.xz gnupg2-0c34edc4435d8cce1eccee1e9e369c2744b49751.zip |
gpg: Make --with-sig-check with -with --show-key in non-colon mode.
* g10/keylist.c (list_keyblock_direct): Set check_sigs.
-rw-r--r-- | g10/keylist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index 57d73bc4b..1fe39433b 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -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; |