X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fm_mdc2.c;h=b08d5598039316478efb565a8854ca5655f74bee;hb=5fd722600b3c53f31900442b9a0f9d0ce7dfc629;hp=14e8175790e9ff8b0018a6e5f6288c5739bb73d6;hpb=60a938c6bca4c0890ed2d320e29fb43c970094d5;p=openssl.git diff --git a/crypto/evp/m_mdc2.c b/crypto/evp/m_mdc2.c index 14e8175790..b08d559803 100644 --- a/crypto/evp/m_mdc2.c +++ b/crypto/evp/m_mdc2.c @@ -65,12 +65,14 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif 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)