mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8020 fix 64bit hash finalizer
This commit is contained in:
parent
9266a43d6c
commit
fa255d0fed
@ -127,7 +127,7 @@ lutil_HASH64Update(
|
||||
void
|
||||
lutil_HASH64Final( unsigned char *digest, lutil_HASH_CTX *ctx )
|
||||
{
|
||||
unsigned long long h = ctx->hash;
|
||||
unsigned long long h = ctx->hash64;
|
||||
|
||||
digest[0] = h & 0xffU;
|
||||
digest[1] = (h>>8) & 0xffU;
|
||||
|
Loading…
Reference in New Issue
Block a user