From dcc64663051f8af82abc11e2699649c3b35936db Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Thu, 15 Sep 2016 12:19:29 +0200 Subject: [PATCH] g10: Don't include the signature when printing a binding's validity. * g10/mainproc.c (check_sig_and_print): When printing information about a binding don't include the current signature. -- Signed-off-by: Neal H. Walfield --- g10/mainproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g10/mainproc.c b/g10/mainproc.c index 929e18a72..e663af889 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -1976,7 +1976,7 @@ check_sig_and_print (CTX c, kbnode_t node) before calling that function. */ if ((opt.verify_options & VERIFY_SHOW_UID_VALIDITY)) valid = get_validity (c->ctrl, mainpk, un->pkt->pkt.user_id, - sig, 0); + NULL, 0); else valid = 0; /* Not used. */ @@ -2078,7 +2078,7 @@ check_sig_and_print (CTX c, kbnode_t node) information. */ valid = (trust_value_to_string (get_validity (c->ctrl, mainpk, - un->pkt->pkt.user_id, sig, 0))); + un->pkt->pkt.user_id, NULL, 0))); log_printf (" [%s]\n",valid); } else