Diff for /libraries/liblutil/hash.c between versions 1.2 and 1.11

version 1.2, 2000/10/17 22:29:21 version 1.11, 2009/01/21 23:40:23
Line 1 Line 1
 /* $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.10 2008/01/07 23:20:06 kurt Exp $ */
   /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
    *
    * Copyright 2000-2009 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.  /* This implements the Fowler / Noll / Vo (FNV-1) hash algorithm.
  * A summary of the algorithm can be found at:   * A summary of the algorithm can be found at:
  *   http://www.isthe.com/chongo/tech/comp/fnv/index.html   *   http://www.isthe.com/chongo/tech/comp/fnv/index.html
Line 29  void Line 44  void
 lutil_HASHUpdate(  lutil_HASHUpdate(
     struct lutil_HASHContext    *ctx,      struct lutil_HASHContext    *ctx,
     const unsigned char         *buf,      const unsigned char         *buf,
     ber_len_t           len      ber_len_t           len )
 )  
 {  {
         const unsigned char *p, *e;          const unsigned char *p, *e;
         ber_uint_t h;          ber_uint_t h;

Removed from v.1.2  
changed lines
  Added in v.1.11


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org