summaryrefslogtreecommitdiff
path: root/crypto/evp/m_sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/m_sha1.c')
-rw-r--r--crypto/evp/m_sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/m_sha1.c b/crypto/evp/m_sha1.c
index 364b368877..7a791a6f71 100644
--- a/crypto/evp/m_sha1.c
+++ b/crypto/evp/m_sha1.c
@@ -69,7 +69,7 @@
static int init(EVP_MD_CTX *ctx)
{ return SHA1_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 SHA1_Update(ctx->md_data,data,count); }
static int final(EVP_MD_CTX *ctx,unsigned char *md)