summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_ripemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_ripemd.c')
-rw-r--r--src/lib/libcrypto/evp/m_ripemd.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/m_ripemd.c b/src/lib/libcrypto/evp/m_ripemd.c
index 04c5d8897b..3d781a4e8d 100644
--- a/src/lib/libcrypto/evp/m_ripemd.c
+++ b/src/lib/libcrypto/evp/m_ripemd.c
@@ -56,11 +56,13 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef NO_RIPEMD
59#include <stdio.h> 60#include <stdio.h>
60#include "cryptlib.h" 61#include "cryptlib.h"
61#include "evp.h" 62#include <openssl/ripemd.h>
62#include "objects.h" 63#include <openssl/evp.h>
63#include "x509.h" 64#include <openssl/objects.h>
65#include <openssl/x509.h>
64 66
65static EVP_MD ripemd160_md= 67static EVP_MD ripemd160_md=
66 { 68 {
@@ -75,7 +77,8 @@ static EVP_MD ripemd160_md=
75 sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX), 77 sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
76 }; 78 };
77 79
78EVP_MD *EVP_ripemd160() 80EVP_MD *EVP_ripemd160(void)
79 { 81 {
80 return(&ripemd160_md); 82 return(&ripemd160_md);
81 } 83 }
84#endif