[Pkg-gnupg-commit] [gnupg2] 50/159: gpg: Display the key that is invalid, not the search description.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:53 UTC 2016


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

dkg pushed a commit to branch master
in repository gnupg2.

commit 7fe4be0416cdc9269011bc4213b8a22d6ced295c
Author: Neal H. Walfield <neal at g10code.com>
Date:   Thu Dec 17 10:55:29 2015 +0100

    gpg: Display the key that is invalid, not the search description.
    
    * g10/getkey.c (parse_def_secret_key): Display the key that is
    invalid, not the search description.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
---
 g10/getkey.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/g10/getkey.c b/g10/getkey.c
index 589f240..ad0c207 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1225,22 +1225,22 @@ parse_def_secret_key (ctrl_t ctrl)
           if (pk->flags.revoked)
             {
               if (DBG_LOOKUP)
-                log_debug ("not using %s as default key, %s\n",
-                           t->d, "revoked");
+                log_debug (_("not using %s as default key, %s"),
+                           keystr_from_pk (pk), "revoked");
               continue;
             }
           if (pk->has_expired)
             {
               if (DBG_LOOKUP)
-                log_debug ("not using %s as default key, %s\n",
-                           t->d, "expired");
+                log_debug (_("not using %s as default key, %s"),
+                           keystr_from_pk (pk), "expired");
               continue;
             }
           if (pk_is_disabled (pk))
             {
               if (DBG_LOOKUP)
-                log_debug ("not using %s as default key, %s\n",
-                           t->d, "disabled");
+                log_debug (_("not using %s as default key, %s"),
+                           keystr_from_pk (pk), "disabled");
               continue;
             }
 

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