]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/hash.c
Merge remote-tracking branch 'origin/mdb.RE/0.9'
[openldap] / libraries / liblutil / hash.c
index 0555fab097ff8af113c6c53e6a989cb92f381d29..88b20ebf01d20bf85a8971fef15ee30a035cd833 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2013 The OpenLDAP Foundation.
+ * Copyright 2000-2015 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;