Import auto init bug fix.

This commit is contained in:
Kurt Zeilenga 1999-01-20 01:01:28 +00:00
parent adc1d19d48
commit 6896a2be62

View File

@ -146,7 +146,10 @@ gen_pass (unsigned int len)
const unsigned char autogen[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890.,";
int i;
Salt salt = {NULL, 0};
Salt salt;
salt.salt = NULL;
salt.len = 0;
make_salt (&salt, len);
for (i = 0; i < len; i++)