diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-02-12 20:39:00 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-02-12 20:39:00 (GMT) |
commit | a9b8e48237d4094095b91031ac7c9fb0f4cc028e (patch) | |
tree | 498c4173ac1530bb0ab661a222ddc2906f564944 /libmd5 | |
parent | 3ced61065d252f4f8a3cf5f310f30094d91ac83c (diff) | |
download | Doxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.zip Doxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.tar.gz Doxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.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 |