diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_md4.c')
| -rw-r--r-- | src/lib/libcrypto/evp/m_md4.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/m_md4.c b/src/lib/libcrypto/evp/m_md4.c index 5a944e3c16..9d7dda26f3 100644 --- a/src/lib/libcrypto/evp/m_md4.c +++ b/src/lib/libcrypto/evp/m_md4.c | |||
| @@ -71,17 +71,20 @@ | |||
| 71 | 71 | ||
| 72 | #include "evp_locl.h" | 72 | #include "evp_locl.h" |
| 73 | 73 | ||
| 74 | static int init(EVP_MD_CTX *ctx) | 74 | static int |
| 75 | init(EVP_MD_CTX *ctx) | ||
| 75 | { | 76 | { |
| 76 | return MD4_Init(ctx->md_data); | 77 | return MD4_Init(ctx->md_data); |
| 77 | } | 78 | } |
| 78 | 79 | ||
| 79 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | 80 | static int |
| 81 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | ||
| 80 | { | 82 | { |
| 81 | return MD4_Update(ctx->md_data, data, count); | 83 | return MD4_Update(ctx->md_data, data, count); |
| 82 | } | 84 | } |
| 83 | 85 | ||
| 84 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | 86 | static int |
| 87 | final(EVP_MD_CTX *ctx, unsigned char *md) | ||
| 85 | { | 88 | { |
| 86 | return MD4_Final(md, ctx->md_data); | 89 | return MD4_Final(md, ctx->md_data); |
| 87 | } | 90 | } |
