X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fm_md2.c;h=5ce849f161dde283fa899d4a4a02f3538e486d94;hp=50914c83b3afaadaef388b5a4f7bbf18fd04e441;hb=cb877ccb35ae50b34f9a37eb5aa33b8a7ae72e29;hpb=e8330cf5ac62d693bd0921dbb5e9dd3f73019512 diff --git a/crypto/evp/m_md2.c b/crypto/evp/m_md2.c index 50914c83b3..5ce849f161 100644 --- a/crypto/evp/m_md2.c +++ b/crypto/evp/m_md2.c @@ -56,18 +56,23 @@ * [including the GNU Public Licence.] */ -#ifndef OPENSSL_NO_MD2 #include #include "cryptlib.h" + +#ifndef OPENSSL_NO_MD2 + #include #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)