From fdee25e1f6a0b7c81aa61a60d0a24271165cefa6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 19 Feb 2006 22:37:31 +0000 Subject: [PATCH] Daniel Meidlinger points out a redundant test :-) [originally from svn r6579] --- ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index aa619e3e..60ddefcc 100644 --- a/ssh.c +++ b/ssh.c @@ -6613,7 +6613,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, s->nkeys = 0; s->agent_response = NULL; s->pkblob_in_agent = NULL; - if (ssh->cfg.tryagent && agent_exists() && ssh->cfg.tryagent) { + if (ssh->cfg.tryagent && agent_exists()) { void *r;