From b797d7a7c4481c20b26ecf6ce7ef77e4782534bb Mon Sep 17 00:00:00 2001 From: David Date: Wed, 30 Aug 2006 00:34:28 +0000 Subject: david - creepy forgot to commit hashtable stuff... also fixed something in md5... it was using uninitialized data... --- src/md5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/md5.cpp') diff --git a/src/md5.cpp b/src/md5.cpp index ed7e4ac..c0cacdd 100644 --- a/src/md5.cpp +++ b/src/md5.cpp @@ -143,7 +143,7 @@ long *md5::c2l( const char *str, long len, long *nNewLen ) long mlen = OBLOC( len8 ); long flen = (((mlen/16)+((mlen%16)?(1):(0))))*16; long *aBin = new long[flen]; - memset( aBin, 0, flen ); + memset( aBin, 0, flen*4 ); for( long i = 0; i < len8; i+=8 ) { -- cgit v1.2.3