agent: SSH support fix.

* agent/command-ssh.c (ssh_handler_request_identities): Keep error
message same.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2016-08-10 13:51:14 +09:00
parent e630f90499
commit f14795d57f
1 changed files with 3 additions and 1 deletions

View 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;
}