]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/hash.c
Prep for release
[openldap] / libraries / liblutil / hash.c
index 172b0b8d8dc0ce3a13a7780fe1d966d7991ac340..f230196a5d7f3fff17b82d61b4a13b154bce8dc2 100644 (file)
@@ -1,4 +1,19 @@
 /* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 2000-2010 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
+ * <http://www.OpenLDAP.org/license.html>.
+ */
+
 /* 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;