[parchive2-cvs] library/src/math md5.cc,1.14,1.15 md5.h,1.15,1.16
Status: Pre-Alpha
Brought to you by:
coppit
|
From: <co...@us...> - 2003-05-07 03:41:59
|
Update of /cvsroot/parchive2/library/src/math
In directory sc8-pr-cvs1:/tmp/cvs-serv4822/src/math
Modified Files:
md5.cc md5.h
Log Message:
Fixed a bug in length computation
Index: md5.cc
===================================================================
RCS file: /cvsroot/parchive2/library/src/math/md5.cc,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** md5.cc 4 May 2003 04:44:18 -0000 1.14
--- md5.cc 7 May 2003 03:41:56 -0000 1.15
***************
*** 8,12 ****
// This takes a string and length and returns an md5 which is a char array
! md5::md5(const char* in_str, unsigned int len)
{
memset(_md5,0,16);
--- 8,12 ----
// This takes a string and length and returns an md5 which is a char array
! md5::md5(const char* const in_str, unsigned int len)
{
memset(_md5,0,16);
Index: md5.h
===================================================================
RCS file: /cvsroot/parchive2/library/src/math/md5.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** md5.h 4 May 2003 04:57:16 -0000 1.15
--- md5.h 7 May 2003 03:41:56 -0000 1.16
***************
*** 24,28 ****
md5();
md5( const md5& m);
! md5(const char*,unsigned int);
md5(istream&);
--- 24,28 ----
md5();
md5( const md5& m);
! md5(const char* const,unsigned int);
md5(istream&);
|