agent: SSH support fix.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 10 Aug 2016 04:51:14 +0000 (13:51 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 10 Aug 2016 04:51:14 +0000 (13:51 +0900)
* agent/command-ssh.c (ssh_handler_request_identities): Keep error
message same.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command-ssh.c

index 2def342..83a27ed 100644 (file)
@@ -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;
         }