]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/hash.c
Happy New Year
[openldap] / libraries / liblutil / hash.c
index 8a593526aa8695501ef40b96657dd7e18162fc97..9a3c9cefc436ce0fd4418e7eb4ddef8d4e28ba73 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2014 The OpenLDAP Foundation.
+ * Copyright 2000-2018 The OpenLDAP Foundation.
  * Portions Copyright 2000-2003 Kurt D. Zeilenga.
  * All rights reserved.
  *
@@ -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;