From: simon Date: Wed, 21 Jan 2004 19:33:48 +0000 (+0000) Subject: Martin Prikryl points out that need_pw may be used uninitialised. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/954a954017ef83065bfb605b0bd99d8856071892 Martin Prikryl points out that need_pw may be used uninitialised. git-svn-id: svn://svn.tartarus.org/sgt/putty@3751 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/ssh.c b/ssh.c index 22a0b452..6c1aeb75 100644 --- a/ssh.c +++ b/ssh.c @@ -4744,6 +4744,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt) s->method = 0; ssh->pkt_ctx &= ~SSH2_PKTCTX_AUTH_MASK; + s->need_pw = FALSE; /* * Most password/passphrase prompts will be