diff options
Diffstat (limited to 'lib/libcrypto/evp/m_mdc2.c')
| -rw-r--r-- | lib/libcrypto/evp/m_mdc2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcrypto/evp/m_mdc2.c b/lib/libcrypto/evp/m_mdc2.c index 62de1336b85..36c4e9b1343 100644 --- a/lib/libcrypto/evp/m_mdc2.c +++ b/lib/libcrypto/evp/m_mdc2.c @@ -56,19 +56,21 @@ * [including the GNU Public Licence.] */ -#ifndef OPENSSL_NO_MDC2 #include <stdio.h> #include "cryptlib.h" + +#ifndef OPENSSL_NO_MDC2 + #include <openssl/evp.h> -#include "evp_locl.h" #include <openssl/objects.h> #include <openssl/x509.h> #include <openssl/mdc2.h> +#include <openssl/rsa.h> 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) |
