aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/md5/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/md5/md5.h')
-rw-r--r--crypto/openssl/crypto/md5/md5.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/md5/md5.h b/crypto/openssl/crypto/md5/md5.h
index a252e0211543..6d283fe9dac8 100644
--- a/crypto/openssl/crypto/md5/md5.h
+++ b/crypto/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
}