aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-08-10 04:51:14 +0000
committerNIIBE Yutaka <[email protected]>2016-08-10 04:51:14 +0000
commitf14795d57f6c81709e9225dd3c5dfd3495cf1b2b (patch)
tree1ac4b411d4831354618ad3ad463b89954a40d586 /agent/command-ssh.c
parentagent: Fix regression in recent ssh changes. (diff)
downloadgnupg-f14795d57f6c81709e9225dd3c5dfd3495cf1b2b.tar.gz
gnupg-f14795d57f6c81709e9225dd3c5dfd3495cf1b2b.zip
agent: SSH support fix.
* agent/command-ssh.c (ssh_handler_request_identities): Keep error message same. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
-rw-r--r--agent/command-ssh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 2def34290..83a27ed50 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2623,7 +2623,9 @@ ssh_handler_request_identities (ctrl_t ctrl,
err = agent_public_key_from_file (ctrl, grip, &key_public);
if (err)
{
- log_error ("failed to read the public key\n");
+ log_error ("%s:%d: key '%s' skipped: %s\n",
+ cf->fname, cf->lnr, cf->item.hexgrip,
+ gpg_strerror (err));
continue;
}