From 6e6bef8f56ad268c6e5e2039ef300bb39a7b200c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 Dec 2003 00:39:29 +0000 Subject: [PATCH] Fix - need to initialize lutil_passwd. --- servers/slapd/tools/slappasswd.c | 2 ++ 1 file changed, 2 insertions(+) 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 ) { -- 2.39.5