diff options
Diffstat (limited to 'usr/src/common/openssl/crypto/mdc2/mdc2.h')
| -rw-r--r-- | usr/src/common/openssl/crypto/mdc2/mdc2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/common/openssl/crypto/mdc2/mdc2.h b/usr/src/common/openssl/crypto/mdc2/mdc2.h index 793a8a0f13..72778a5212 100644 --- a/usr/src/common/openssl/crypto/mdc2/mdc2.h +++ b/usr/src/common/openssl/crypto/mdc2/mdc2.h @@ -74,7 +74,7 @@ extern "C" { typedef struct mdc2_ctx_st { - int num; + unsigned int num; unsigned char data[MDC2_BLOCK]; DES_cblock h,hh; int pad_type; /* either 1 or 2, default 1 */ @@ -82,9 +82,9 @@ typedef struct mdc2_ctx_st int MDC2_Init(MDC2_CTX *c); -int MDC2_Update(MDC2_CTX *c, const unsigned char *data, unsigned long len); +int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); int MDC2_Final(unsigned char *md, MDC2_CTX *c); -unsigned char *MDC2(const unsigned char *d, unsigned long n, +unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md); #ifdef __cplusplus |
