As a result of the policy allowing changes of username to reset the
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Nov 2004 17:11:38 +0000 (17:11 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Nov 2004 17:11:38 +0000 (17:11 +0000)
commit91f57d1f7850ab7e9e2234007cf2e571bb6ccc94
tree5bb85021748bd901b9109acb25e9591b63a8b52b
parentb5af97b37d9461e607ebf6a11919c32b3260c140
As a result of the policy allowing changes of username to reset the
authentication state, a failed `password' authentication in SSH-2 was
sending us back to trying `none' and `keyboard-interactive' each time
round, which uses up OpenSSH's quota of authentication attempts rather
quickly. Added a check for `cfg.change_username' to the logic which
sends us back to the start.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4849 cda61777-01e9-0310-a592-d414129be87e
ssh.c