]> git.sur5r.net Git - openldap/commitdiff
Fix - need to initialize lutil_passwd.
authorHoward Chu <hyc@openldap.org>
Tue, 16 Dec 2003 00:39:29 +0000 (00:39 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 16 Dec 2003 00:39:29 +0000 (00:39 +0000)
servers/slapd/tools/slappasswd.c

index cc4d4332629b4e51281fc77efdbd893c8cd375ef..5826c89fce8dea49a1d212f03b0340a178502b01 100644 (file)
@@ -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 ) {