diff options
author | Neal H. Walfield <neal@g10code.com> | 2016-08-29 14:05:16 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2016-08-30 15:54:38 +0200 |
commit | 8dda861ad80228da76cd5c97467008c87b8b6eee (patch) | |
tree | 571956ad5e50a30b55305602ca46bdcc669944e0 /g10/mainproc.c | |
parent | w32: Fix build regression due to 2aa0701. (diff) | |
download | gnupg2-8dda861ad80228da76cd5c97467008c87b8b6eee.tar.xz gnupg2-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 <neal@g10code.com>
Diffstat (limited to '')
-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. */ |