projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
size_t-fication of message digest APIs. We should size_t-fy more APIs...
[openssl.git]
/
crypto
/
evp
/
m_mdc2.c
diff --git
a/crypto/evp/m_mdc2.c
b/crypto/evp/m_mdc2.c
index 14e8175790e9ff8b0018a6e5f6288c5739bb73d6..36c4e9b1343688d7f5b10b3ee50e90d37b0bc8ae 100644
(file)
--- a/
crypto/evp/m_mdc2.c
+++ b/
crypto/evp/m_mdc2.c
@@
-70,7
+70,7
@@
static int init(EVP_MD_CTX *ctx)
{ return MDC2_Init(ctx->md_data); }
static int init(EVP_MD_CTX *ctx)
{ return MDC2_Init(ctx->md_data); }
-static int update(EVP_MD_CTX *ctx,const void *data,
unsigned long
count)
+static int update(EVP_MD_CTX *ctx,const void *data,
size_t
count)
{ return MDC2_Update(ctx->md_data,data,count); }
static int final(EVP_MD_CTX *ctx,unsigned char *md)
{ return MDC2_Update(ctx->md_data,data,count); }
static int final(EVP_MD_CTX *ctx,unsigned char *md)