--- libraries/liblutil/hash.c 2000/10/17 22:29:21 1.2
+++ libraries/liblutil/hash.c 2007/08/31 23:13:57 1.8.2.2
@@ -1,4 +1,19 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblutil/hash.c,v 1.1 2000/09/22 20:19:46 kurt Exp $ */
+/* $OpenLDAP: pkg/ldap/libraries/liblutil/hash.c,v 1.9 2007/01/02 19:01:01 kurt Exp $ */
+/* This work is part of OpenLDAP Software .
+ *
+ * Copyright 2000-2007 The OpenLDAP Foundation.
+ * Portions Copyright 2000-2003 Kurt D. Zeilenga.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * .
+ */
+
/* This implements the Fowler / Noll / Vo (FNV-1) hash algorithm.
* A summary of the algorithm can be found at:
* http://www.isthe.com/chongo/tech/comp/fnv/index.html
@@ -29,8 +44,7 @@ void
lutil_HASHUpdate(
struct lutil_HASHContext *ctx,
const unsigned char *buf,
- ber_len_t len
-)
+ ber_len_t len )
{
const unsigned char *p, *e;
ber_uint_t h;