From 8dda861ad80228da76cd5c97467008c87b8b6eee Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 29 Aug 2016 14:05:16 +0200 Subject: [PATCH] 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 --- g10/mainproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */