summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_md5.c')
-rw-r--r--src/lib/libcrypto/evp/m_md5.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/m_md5.c b/src/lib/libcrypto/evp/m_md5.c
index 4ac9829886..03c78df9e8 100644
--- a/src/lib/libcrypto/evp/m_md5.c
+++ b/src/lib/libcrypto/evp/m_md5.c
@@ -70,17 +70,20 @@
70#endif 70#endif
71#include "evp_locl.h" 71#include "evp_locl.h"
72 72
73static int init(EVP_MD_CTX *ctx) 73static int
74init(EVP_MD_CTX *ctx)
74{ 75{
75 return MD5_Init(ctx->md_data); 76 return MD5_Init(ctx->md_data);
76} 77}
77 78
78static int update(EVP_MD_CTX *ctx, const void *data, size_t count) 79static int
80update(EVP_MD_CTX *ctx, const void *data, size_t count)
79{ 81{
80 return MD5_Update(ctx->md_data, data, count); 82 return MD5_Update(ctx->md_data, data, count);
81} 83}
82 84
83static int final(EVP_MD_CTX *ctx, unsigned char *md) 85static int
86final(EVP_MD_CTX *ctx, unsigned char *md)
84{ 87{
85 return MD5_Final(md, ctx->md_data); 88 return MD5_Final(md, ctx->md_data);
86} 89}