mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
Fix - need to initialize lutil_passwd.
This commit is contained in:
parent
d9ad3bcc50
commit
6e6bef8f56
1 changed files with 2 additions and 0 deletions
|
|
@ -130,6 +130,8 @@ main( int argc, char *argv[] )
|
||||||
passwd.bv_len = strlen(passwd.bv_val);
|
passwd.bv_len = strlen(passwd.bv_val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lutil_passwd_init();
|
||||||
|
|
||||||
hash = lutil_passwd_hash( &passwd, scheme, &text );
|
hash = lutil_passwd_hash( &passwd, scheme, &text );
|
||||||
|
|
||||||
if( hash == NULL || hash->bv_val == NULL ) {
|
if( hash == NULL || hash->bv_val == NULL ) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue