Because there's chances we clash with the system's types.h, rename our
[openssl.git] / crypto / sha / sha_dgst.c
index 1aade357d10104e8a10069455ea5c5cbd0b4f222..5a4b3ab20459717ad82767a9200b4f59ae768ca5 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#if !defined(NO_SHA0) && !defined(NO_SHA)
+#if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA)
 
 #undef  SHA_1
 #define SHA_0
 
 #include <openssl/opensslv.h>
 
-char *SHA_version="SHA" OPENSSL_VERSION_PTEXT;
+const char *SHA_version="SHA" OPENSSL_VERSION_PTEXT;
 
 /* The implementation is in ../md32_common.h */