summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_mdc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_mdc2.c')
-rw-r--r--src/lib/libcrypto/evp/m_mdc2.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/m_mdc2.c b/src/lib/libcrypto/evp/m_mdc2.c
index 36c4e9b134..62de1336b8 100644
--- a/src/lib/libcrypto/evp/m_mdc2.c
+++ b/src/lib/libcrypto/evp/m_mdc2.c
@@ -56,21 +56,19 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef OPENSSL_NO_MDC2
59#include <stdio.h> 60#include <stdio.h>
60#include "cryptlib.h" 61#include "cryptlib.h"
61
62#ifndef OPENSSL_NO_MDC2
63
64#include <openssl/evp.h> 62#include <openssl/evp.h>
63#include "evp_locl.h"
65#include <openssl/objects.h> 64#include <openssl/objects.h>
66#include <openssl/x509.h> 65#include <openssl/x509.h>
67#include <openssl/mdc2.h> 66#include <openssl/mdc2.h>
68#include <openssl/rsa.h>
69 67
70static int init(EVP_MD_CTX *ctx) 68static int init(EVP_MD_CTX *ctx)
71 { return MDC2_Init(ctx->md_data); } 69 { return MDC2_Init(ctx->md_data); }
72 70
73static int update(EVP_MD_CTX *ctx,const void *data,size_t count) 71static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count)
74 { return MDC2_Update(ctx->md_data,data,count); } 72 { return MDC2_Update(ctx->md_data,data,count); }
75 73
76static int final(EVP_MD_CTX *ctx,unsigned char *md) 74static int final(EVP_MD_CTX *ctx,unsigned char *md)