mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
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 <neal@g10code.com>
This commit is contained in:
parent
3248182d1b
commit
dcc6466305
@ -1976,7 +1976,7 @@ check_sig_and_print (CTX c, kbnode_t node)
|
|||||||
before calling that function. */
|
before calling that function. */
|
||||||
if ((opt.verify_options & VERIFY_SHOW_UID_VALIDITY))
|
if ((opt.verify_options & VERIFY_SHOW_UID_VALIDITY))
|
||||||
valid = get_validity (c->ctrl, mainpk, un->pkt->pkt.user_id,
|
valid = get_validity (c->ctrl, mainpk, un->pkt->pkt.user_id,
|
||||||
sig, 0);
|
NULL, 0);
|
||||||
else
|
else
|
||||||
valid = 0; /* Not used. */
|
valid = 0; /* Not used. */
|
||||||
|
|
||||||
@ -2078,7 +2078,7 @@ check_sig_and_print (CTX c, kbnode_t node)
|
|||||||
information. */
|
information. */
|
||||||
valid = (trust_value_to_string
|
valid = (trust_value_to_string
|
||||||
(get_validity (c->ctrl, mainpk,
|
(get_validity (c->ctrl, mainpk,
|
||||||
un->pkt->pkt.user_id, sig, 0)));
|
un->pkt->pkt.user_id, NULL, 0)));
|
||||||
log_printf (" [%s]\n",valid);
|
log_printf (" [%s]\n",valid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user