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:
parent
934a5ad6b2
commit
6e40a0db57
6
ssh.c
6
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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user