improved error checking and some fixes
[oweals/openssl.git] / crypto / sha / sha_dgst.c
index 894a96274afc3a64145ed50df27860682c362c7f..60465d0c3e937c200b6a1d0f1eaf5766c6a8e591 100644 (file)
@@ -56,7 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
-#if !defined(NO_SHA0) && !defined(NO_SHA)
+#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA)
 
 #undef  SHA_1
 #define SHA_0