From 6e40a0db57993407da9f0690c2f05fc4a21f5bae Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 8 Jun 2011 20:39:06 +0000 Subject: [PATCH] When we fail to get a response from Pageant, we should log the fact. 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] --- ssh.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index c3c3f117..05530fe8 100644 --- a/ssh.c +++ b/ssh.c @@ -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; } @@ -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"); } }