]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/hash.c
Add valx arg to config_parse_add - indicate which value in the current
[openldap] / libraries / liblutil / hash.c
index 5422d6d2568b2b6483516247a73ea5993b968fcb..6668ae2401e245092df3fa09d2ee649fd7fa8b35 100644 (file)
@@ -1,8 +1,19 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 2000-2006 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
@@ -33,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;