X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7bd5a86050fa6fb39e2928b25f46df4f7dc24600..98c84eb438c9d388460a921803f3bacaeb63a709:/ssh.c diff --git a/ssh.c b/ssh.c index cc20f3bd..7b4bff46 100644 --- a/ssh.c +++ b/ssh.c @@ -1911,7 +1911,7 @@ static int do_ssh1_login(unsigned char *in, int inlen, int ispkt) pwlen = strlen(password); if (pwlen < 16) { - bottom = 1; + bottom = 0; /* zero length passwords are OK! :-) */ top = 15; } else { bottom = pwlen &~ 7;