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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/m_mdc2.c b/src/lib/libcrypto/evp/m_mdc2.c
index 70ce53bee8..7983ed6acb 100644
--- a/src/lib/libcrypto/evp/m_mdc2.c
+++ b/src/lib/libcrypto/evp/m_mdc2.c
@@ -71,17 +71,20 @@
71 71
72#include "evp_locl.h" 72#include "evp_locl.h"
73 73
74static int init(EVP_MD_CTX *ctx) 74static int
75init(EVP_MD_CTX *ctx)
75{ 76{
76 return MDC2_Init(ctx->md_data); 77 return MDC2_Init(ctx->md_data);
77} 78}
78 79
79static int update(EVP_MD_CTX *ctx, const void *data, size_t count) 80static int
81update(EVP_MD_CTX *ctx, const void *data, size_t count)
80{ 82{
81 return MDC2_Update(ctx->md_data, data, count); 83 return MDC2_Update(ctx->md_data, data, count);
82} 84}
83 85
84static int final(EVP_MD_CTX *ctx, unsigned char *md) 86static int
87final(EVP_MD_CTX *ctx, unsigned char *md)
85{ 88{
86 return MDC2_Final(md, ctx->md_data); 89 return MDC2_Final(md, ctx->md_data);
87} 90}