Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
When we fail to get a response from Pageant, we should log the fact.
Browse files Browse the repository at this point in the history
Currently, if the IPC exchange goes wrong, the Event Log just prints
"Pageant is running. Requesting keys." and then goes on to the next
step without ever saying what happened.

[originally from svn r9177]
  • Loading branch information
sgtatham committed Jun 8, 2011
1 parent 934a5ad commit 6e40a0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -3744,7 +3744,9 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
sfree(s->response);
if (s->publickey_blob && !s->tried_publickey)
logevent("Configured key file not in Pageant");
}
} else {
logevent("Failed to get reply from Pageant");
}
if (s->authed)
break;
}
Expand Down Expand Up @@ -7500,6 +7502,8 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
s->nkeys = 0;
}
}
} else {
logevent("Failed to get reply from Pageant");
}
}

Expand Down

0 comments on commit 6e40a0d

Please sign in to comment.