summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_md2.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-05-15 13:29:55 +0200
committerAndy Polyakov <appro@openssl.org>2004-05-15 13:29:55 +0200
commit9e0aad9fd60635e240f7742fa1497eced6f1cd0b (patch)
tree3bcdb1f59b421e626a2c94ea743ccc4d18628c1c /crypto/evp/m_md2.c
parentReimplement old functions, so older software that link to libcrypto (diff)
downloadopenssl-9e0aad9fd60635e240f7742fa1497eced6f1cd0b.tar.xz
openssl-9e0aad9fd60635e240f7742fa1497eced6f1cd0b.zip
size_t-fication of message digest APIs. We should size_t-fy more APIs...
Diffstat (limited to 'crypto/evp/m_md2.c')
-rw-r--r--crypto/evp/m_md2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/m_md2.c b/crypto/evp/m_md2.c
index e577d26411..1eae4ed38c 100644
--- a/crypto/evp/m_md2.c
+++ b/crypto/evp/m_md2.c
@@ -70,7 +70,7 @@
static int init(EVP_MD_CTX *ctx)
{ return MD2_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 MD2_Update(ctx->md_data,data,count); }
static int final(EVP_MD_CTX *ctx,unsigned char *md)