New Camellia implementation (replacing previous version)
[openssl.git] / crypto / sha / sha1dgst.c
index dc008124e2d5f981b6dbd6557e2e47f1ebf01c43..447ce53e17ee3e630c1ad16e8a6c86c3ec3e6c8f 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#if !defined(NO_SHA1) && !defined(NO_SHA)
+#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
 
 #undef  SHA_0
 #define SHA_1
 
 #include <openssl/opensslv.h>
 
-char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
+const char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
 
 /* The implementation is in ../md32_common.h */