~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2c664
)
Zero length passwords no longer cause an assertion failure :-)
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 12 Mar 2001 15:12:33 +0000
(15:12 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 12 Mar 2001 15:12:33 +0000
(15:12 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@993
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
cc20f3b
..
7b4bff4
100644
(file)
--- 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;