From ed0ae4ef14ecdd4e998d4de0ac2e1d821e2d118a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 20 Jan 1999 01:00:12 +0000 Subject: [PATCH] Don't use initializers for auto vars. --- clients/tools/ldappasswd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 26a621c988..b45d133615 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -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++) -- 2.39.5