diff options
Diffstat (limited to 'usr/src/common/openssl/crypto/md5/md5.h')
| -rw-r--r-- | usr/src/common/openssl/crypto/md5/md5.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/common/openssl/crypto/md5/md5.h b/usr/src/common/openssl/crypto/md5/md5.h index a252e02115..6d283fe9da 100644 --- a/usr/src/common/openssl/crypto/md5/md5.h +++ b/usr/src/common/openssl/crypto/md5/md5.h @@ -101,13 +101,13 @@ typedef struct MD5state_st MD5_LONG A,B,C,D; MD5_LONG Nl,Nh; MD5_LONG data[MD5_LBLOCK]; - int num; + unsigned int num; } MD5_CTX; int MD5_Init(MD5_CTX *c); -int MD5_Update(MD5_CTX *c, const void *data, unsigned long len); +int MD5_Update(MD5_CTX *c, const void *data, size_t len); int MD5_Final(unsigned char *md, MD5_CTX *c); -unsigned char *MD5(const unsigned char *d, unsigned long n, unsigned char *md); +unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); void MD5_Transform(MD5_CTX *c, const unsigned char *b); #ifdef __cplusplus } |
