catcrypt.c, catsign.c: Shorten chunk sizes.
[u/mdw/catacomb] / hash.h
diff --git a/hash.h b/hash.h
index f5d21de..c2c10d0 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: hash.h,v 1.4 2004/03/21 22:42:27 mdw Exp $
+ * $Id$
  *
  * Generic handling for message digest functions
  *
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: hash.h,v $
- * Revision 1.4  2004/03/21 22:42:27  mdw
- * Test hashing on long strings.
- *
- * Revision 1.3  2000/06/17 11:23:27  mdw
- * Portability fix for broken compilers.
- *
- * Revision 1.2  1999/12/10 23:16:40  mdw
- * Split mode macros into interface and implementation.
- *
- * Revision 1.1  1999/09/03 08:41:12  mdw
- * Initial import.
- *
- */
-
 #ifndef CATACOMB_HASH_H
 #define CATACOMB_HASH_H
 
@@ -264,7 +247,7 @@ static int verifyrep(dstr *v)                                               \
     putchar('\n');                                                     \
     ok = 0;                                                            \
   }                                                                    \
-  free(p);                                                             \
+  xfree(p);                                                            \
   dstr_destroy(&d);                                                    \
   return (ok);                                                         \
 }                                                                      \