From fa255d0fedc6de6c592ba775a7eaf7ce9fa63e38 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 7 Jan 2015 17:48:49 +0000 Subject: [PATCH] ITS#8020 fix 64bit hash finalizer --- libraries/liblutil/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/hash.c b/libraries/liblutil/hash.c index 8a593526aa..8accf67775 100644 --- a/libraries/liblutil/hash.c +++ b/libraries/liblutil/hash.c @@ -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; -- 2.39.5