1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

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]
This commit is contained in:
Simon Tatham 2011-06-08 20:39:06 +00:00
parent 934a5ad6b2
commit 6e40a0db57

6
ssh.c
View File

@ -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");
}
}