Diff

Differences From Artifact [45594d2dd1]:

To Artifact [2f8a57858e]:


1907
1908
1909
1910
1911
1912
1913
1914

1915
1916
1917
1918
1919
1920
1921
1907
1908
1909
1910
1911
1912
1913

1914
1915
1916
1917
1918
1919
1920
1921







-
+







                                PKT_DATA, s, len, PKT_END);
                } else {
                    int bottom, top, pwlen, i;
                    char *randomstr;

                    pwlen = strlen(password);
                    if (pwlen < 16) {
                        bottom = 1;
                        bottom = 0;    /* zero length passwords are OK! :-) */
                        top = 15;
                    } else {
                        bottom = pwlen &~ 7;
                        top = bottom + 7;
                    }

                    assert(pwlen >= bottom && pwlen <= top);