From: Howard Chu Date: Tue, 16 Dec 2003 00:39:29 +0000 (+0000) Subject: Fix - need to initialize lutil_passwd. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e6bef8f56ad268c6e5e2039ef300bb39a7b200c;p=openldap Fix - need to initialize lutil_passwd. --- diff --git a/servers/slapd/tools/slappasswd.c b/servers/slapd/tools/slappasswd.c index cc4d433262..5826c89fce 100644 --- a/servers/slapd/tools/slappasswd.c +++ b/servers/slapd/tools/slappasswd.c @@ -130,6 +130,8 @@ main( int argc, char *argv[] ) passwd.bv_len = strlen(passwd.bv_val); } + lutil_passwd_init(); + hash = lutil_passwd_hash( &passwd, scheme, &text ); if( hash == NULL || hash->bv_val == NULL ) {