X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fm_md2.c;h=5ce849f161dde283fa899d4a4a02f3538e486d94;hb=c84029dbdc57edfb9c6cd94f3a730749adb0236a;hp=e577d26411b6ddd6eb1430877c116e77de3d3949;hpb=60a938c6bca4c0890ed2d320e29fb43c970094d5;p=oweals%2Fopenssl.git diff --git a/crypto/evp/m_md2.c b/crypto/evp/m_md2.c index e577d26411..5ce849f161 100644 --- a/crypto/evp/m_md2.c +++ b/crypto/evp/m_md2.c @@ -65,12 +65,14 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif 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)