summaryrefslogtreecommitdiff
path: root/src/md5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/md5.cpp')
-rw-r--r--src/md5.cpp2
1 files changed, 1 insertions, 1 deletions
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 )
143 long mlen = OBLOC( len8 ); 143 long mlen = OBLOC( len8 );
144 long flen = (((mlen/16)+((mlen%16)?(1):(0))))*16; 144 long flen = (((mlen/16)+((mlen%16)?(1):(0))))*16;
145 long *aBin = new long[flen]; 145 long *aBin = new long[flen];
146 memset( aBin, 0, flen ); 146 memset( aBin, 0, flen*4 );
147 147
148 for( long i = 0; i < len8; i+=8 ) 148 for( long i = 0; i < len8; i+=8 )
149 { 149 {