mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Need to adjust len by saltlen
This commit is contained in:
parent
26c7d69e8c
commit
96a126e36a
1 changed files with 2 additions and 0 deletions
|
|
@ -268,6 +268,8 @@ static char * pw_string64(
|
|||
memcpy( string, hash, len );
|
||||
memcpy( &string[len], salt, saltlen );
|
||||
|
||||
len += saltlen;
|
||||
|
||||
} else {
|
||||
string = (char *) hash;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue