[Pkg-gnupg-commit] [gnupg2] 16/118: g10: When showing a user id's trust, pass the current signature.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 15 18:24:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch encoding-and-speling
in repository gnupg2.

commit 8dda861ad80228da76cd5c97467008c87b8b6eee
Author: Neal H. Walfield <neal at g10code.com>
Date:   Mon Aug 29 14:05:16 2016 +0200

    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 at g10code.com>
---
 g10/mainproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/mainproc.c b/g10/mainproc.c
index 3d3f88b..2626189 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.  */
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list