Make all configuration macros available for application by making
[openssl.git] / crypto / evp / m_sha.c
index af4e434a2258348a672f0384a2f6f03f774c54e4..fc7143e6da409b072b692d18d72f8c7f914ceeba 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef OPENSSL_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