mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
Don't use initializers for auto vars.
This commit is contained in:
parent
0503205c93
commit
ed0ae4ef14
1 changed files with 4 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue