mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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>
This commit is contained in:
parent
8b3e691ffb
commit
8dda861ad8
@ -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. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user