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

Daniel Meidlinger points out a redundant test :-)

[originally from svn r6579]
This commit is contained in:
Simon Tatham 2006-02-19 22:37:31 +00:00
parent dd73d2a836
commit fdee25e1f6

2
ssh.c
View File

@ -6613,7 +6613,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
s->nkeys = 0; s->nkeys = 0;
s->agent_response = NULL; s->agent_response = NULL;
s->pkblob_in_agent = NULL; s->pkblob_in_agent = NULL;
if (ssh->cfg.tryagent && agent_exists() && ssh->cfg.tryagent) { if (ssh->cfg.tryagent && agent_exists()) {
void *r; void *r;