summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/evp/m_sha.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/evp/m_sha.c')
-rw-r--r--lib/libssl/src/crypto/evp/m_sha.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libssl/src/crypto/evp/m_sha.c b/lib/libssl/src/crypto/evp/m_sha.c
index af4e434a225..6d35b71b850 100644
--- a/lib/libssl/src/crypto/evp/m_sha.c
+++ b/lib/libssl/src/crypto/evp/m_sha.c
@@ -56,11 +56,12 @@
* [including the GNU Public Licence.]
*/
+#ifndef NO_SHA
#include <stdio.h>
#include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
static EVP_MD sha_md=
{
@@ -75,8 +76,8 @@ static EVP_MD sha_md=
sizeof(EVP_MD *)+sizeof(SHA_CTX),
};
-EVP_MD *EVP_sha()
+EVP_MD *EVP_sha(void)
{
return(&sha_md);
}
-
+#endif