sha256-586.pl: add AVX and XOP code paths.
[openssl.git] / crypto / sha / sha_dgst.c
index 81bce0c150146f62ad55a0b395d23b675fdfa7de..fb63b17ff2c3baddd9637814b5a62825f2fff495 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#if !defined(NO_SHA0) && !defined(NO_SHA)
+#include <openssl/crypto.h>
+#include <openssl/opensslconf.h>
+#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 */
 
 #include "sha_locl.h"