projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an evil cast, because POSIX/SUSv2 define connect(2) require
[oweals/openssl.git]
/
crypto
/
evp
/
m_ripemd.c
diff --git
a/crypto/evp/m_ripemd.c
b/crypto/evp/m_ripemd.c
index 04c5d8897b9928b3bd0492924136255b8988fffd..3d781a4e8df6dabea4dd1529e59981d39d8c7801 100644
(file)
--- a/
crypto/evp/m_ripemd.c
+++ b/
crypto/evp/m_ripemd.c
@@
-56,11
+56,13
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
+#ifndef NO_RIPEMD
#include <stdio.h>
#include "cryptlib.h"
#include <stdio.h>
#include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/ripemd.h>
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
static EVP_MD ripemd160_md=
{
static EVP_MD ripemd160_md=
{
@@
-75,7
+77,8
@@
static EVP_MD ripemd160_md=
sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
};
sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
};
-EVP_MD *EVP_ripemd160()
+EVP_MD *EVP_ripemd160(
void
)
{
return(&ripemd160_md);
}
{
return(&ripemd160_md);
}
+#endif