diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
commit | 2bf4cfeda1be93954baf688017e147b565c06d9b (patch) | |
tree | 498c4173ac1530bb0ab661a222ddc2906f564944 /libmd5 | |
parent | c7d553e78d5c3efdecb3f44a63f4f68e83eae61a (diff) | |
download | Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.zip Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.gz Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.bz2 |
Release-1.3.6
Diffstat (limited to 'libmd5')
-rw-r--r-- | libmd5/md5.c | 2 | ||||
-rw-r--r-- | libmd5/md5.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmd5/md5.c b/libmd5/md5.c index d75105c..0945b28 100644 --- a/libmd5/md5.c +++ b/libmd5/md5.c @@ -174,7 +174,7 @@ void MD5Final (MD5_CTX *context, unsigned char digest[16]) MD5_memset ((POINTER)context, 0, sizeof (*context)); } -void MD5Buffer (const char *buf,unsigned int len,unsigned char sig[16]) +void MD5Buffer (const unsigned char *buf,unsigned int len,unsigned char sig[16]) { MD5_CTX md5; MD5Init(&md5); diff --git a/libmd5/md5.h b/libmd5/md5.h index e62aa07..8e85a8a 100644 --- a/libmd5/md5.h +++ b/libmd5/md5.h @@ -42,7 +42,7 @@ typedef struct { void MD5Init(MD5_CTX *ctx); void MD5Update (MD5_CTX *ctx, const unsigned char *buf, unsigned int len); void MD5Final (MD5_CTX *ctx, unsigned char sig[16]); -void MD5Buffer (const char *buf,unsigned int len,unsigned char sig[16]); +void MD5Buffer (const unsigned char *buf,unsigned int len,unsigned char sig[16]); void MD5SigToString(unsigned char sig[16],char *str,int len); #ifdef __cplusplus |