[Pkg-gnupg-commit] [gnupg2] 113/118: g10: Don't include the signature when printing a binding's validity.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 15 18:25:19 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 dcc64663051f8af82abc11e2699649c3b35936db
Author: Neal H. Walfield <neal at g10code.com>
Date:   Thu Sep 15 12:19:29 2016 +0200

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

diff --git a/g10/mainproc.c b/g10/mainproc.c
index 929e18a..e663af8 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

-- 
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