[Pkg-gnupg-commit] [gnupg2] 74/159: Revert commit 4654384fe7a4dcee113dacf27c398b13dea5d0be.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:56 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 bf694cbc68cc7dfc0ce16bbe389014f8e8ee0d87
Author: Neal H. Walfield <neal at g10code.com>
Date:   Mon Jan 4 12:41:21 2016 +0100

    Revert commit 4654384fe7a4dcee113dacf27c398b13dea5d0be.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
    
    Werner pointed out that a special error message is not needed: the
    error code (as displayed by gpg_strerror) will indicate what went
    wrong.
---
 g10/getkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/getkey.c b/g10/getkey.c
index 608b75e..52e3d23 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1452,7 +1452,7 @@ parse_def_secret_key (ctrl_t ctrl)
       err = classify_user_id (t->d, &desc, 1);
       if (err)
         {
-          log_error (_("error parsing search description \"%s\": %s\n"),
+          log_error (_("secret key \"%s\" not found: %s\n"),
                      t->d, gpg_strerror (err));
           if (!opt.quiet)
             log_info (_("(check argument of option '%s')\n"), "--default-key");

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