X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/1d9ac42faa4a9e1ffd0cd0a8124600acb3696209..e7dc130f304bb10854e4b38488fabd258c99dcab:/hashsum.c diff --git a/hashsum.c b/hashsum.c index 0776ee8..f2ced4b 100644 --- a/hashsum.c +++ b/hashsum.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: hashsum.c,v 1.7 2001/02/21 20:03:22 mdw Exp $ + * $Id: hashsum.c,v 1.8 2001/04/19 18:26:33 mdw Exp $ * * Hash files using some secure hash function * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: hashsum.c,v $ + * Revision 1.8 2001/04/19 18:26:33 mdw + * Add CRC as another hash function. + * * Revision 1.7 2001/02/21 20:03:22 mdw * Added support for MD2 hash function. * @@ -76,6 +79,7 @@ #include "ghash.h" +#include "crc32.h" #include "md2.h" #include "md4.h" #include "md5.h" @@ -95,7 +99,7 @@ static const gchash *hashtab[] = { &md5, &md4, &md2, &sha, &sha256, &sha384, &sha512, &rmd128, &rmd160, &rmd256, &rmd320, - &tiger, + &tiger, &gcrc32, 0 };