diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_md5.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_md5.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/evp/m_md5.c b/src/lib/libcrypto/evp/m_md5.c index 63c142119e..752615d473 100644 --- a/src/lib/libcrypto/evp/m_md5.c +++ b/src/lib/libcrypto/evp/m_md5.c | |||
@@ -56,23 +56,19 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef OPENSSL_NO_MD5 | ||
59 | #include <stdio.h> | 60 | #include <stdio.h> |
60 | #include "cryptlib.h" | 61 | #include "cryptlib.h" |
61 | |||
62 | #ifndef OPENSSL_NO_MD5 | ||
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/md5.h> | 66 | #include <openssl/md5.h> |
68 | #ifndef OPENSSL_NO_RSA | ||
69 | #include <openssl/rsa.h> | ||
70 | #endif | ||
71 | 67 | ||
72 | static int init(EVP_MD_CTX *ctx) | 68 | static int init(EVP_MD_CTX *ctx) |
73 | { return MD5_Init(ctx->md_data); } | 69 | { return MD5_Init(ctx->md_data); } |
74 | 70 | ||
75 | static int update(EVP_MD_CTX *ctx,const void *data,size_t count) | 71 | static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count) |
76 | { return MD5_Update(ctx->md_data,data,count); } | 72 | { return MD5_Update(ctx->md_data,data,count); } |
77 | 73 | ||
78 | static int final(EVP_MD_CTX *ctx,unsigned char *md) | 74 | static int final(EVP_MD_CTX *ctx,unsigned char *md) |