diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_ripemd.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_ripemd.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/libcrypto/evp/m_ripemd.c b/src/lib/libcrypto/evp/m_ripemd.c index a1d60ee78d..64725528dc 100644 --- a/src/lib/libcrypto/evp/m_ripemd.c +++ b/src/lib/libcrypto/evp/m_ripemd.c | |||
@@ -56,23 +56,18 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef OPENSSL_NO_RIPEMD | ||
59 | #include <stdio.h> | 60 | #include <stdio.h> |
60 | #include "cryptlib.h" | 61 | #include "cryptlib.h" |
61 | |||
62 | #ifndef OPENSSL_NO_RIPEMD | ||
63 | |||
64 | #include <openssl/ripemd.h> | 62 | #include <openssl/ripemd.h> |
65 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
66 | #include <openssl/objects.h> | 64 | #include <openssl/objects.h> |
67 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
68 | #ifndef OPENSSL_NO_RSA | ||
69 | #include <openssl/rsa.h> | ||
70 | #endif | ||
71 | 66 | ||
72 | static int init(EVP_MD_CTX *ctx) | 67 | static int init(EVP_MD_CTX *ctx) |
73 | { return RIPEMD160_Init(ctx->md_data); } | 68 | { return RIPEMD160_Init(ctx->md_data); } |
74 | 69 | ||
75 | static int update(EVP_MD_CTX *ctx,const void *data,size_t count) | 70 | static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count) |
76 | { return RIPEMD160_Update(ctx->md_data,data,count); } | 71 | { return RIPEMD160_Update(ctx->md_data,data,count); } |
77 | 72 | ||
78 | static int final(EVP_MD_CTX *ctx,unsigned char *md) | 73 | static int final(EVP_MD_CTX *ctx,unsigned char *md) |