diff options
| author | Neal H. Walfield <[email protected]> | 2016-08-29 12:05:16 +0000 |
|---|---|---|
| committer | Neal H. Walfield <[email protected]> | 2016-08-30 13:54:38 +0000 |
| commit | 8dda861ad80228da76cd5c97467008c87b8b6eee (patch) | |
| tree | 571956ad5e50a30b55305602ca46bdcc669944e0 /g10/mainproc.c | |
| parent | w32: Fix build regression due to 2aa0701. (diff) | |
| download | gnupg-8dda861ad80228da76cd5c97467008c87b8b6eee.tar.gz gnupg-8dda861ad80228da76cd5c97467008c87b8b6eee.zip | |
g10: When showing a user id's trust, pass the current signature.
* g10/mainproc.c (check_sig_and_print): Consistently pass SIG to
get_validity.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/mainproc.c')
| -rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index 3d3f88b40..2626189a7 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -1943,7 +1943,7 @@ check_sig_and_print (CTX c, kbnode_t node) does not print a LF we need to compute the validity before calling that function. */ if ((opt.verify_options & VERIFY_SHOW_UID_VALIDITY)) - valid = get_validity (c->ctrl, pk, un->pkt->pkt.user_id, NULL, 0); + valid = get_validity (c->ctrl, pk, un->pkt->pkt.user_id, sig, 0); else valid = 0; /* Not used. */ |
