summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha/sha.h')
-rw-r--r--crypto/sha/sha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h
index 96daa968fe..5e9cf20cc8 100644
--- a/crypto/sha/sha.h
+++ b/crypto/sha/sha.h
@@ -63,7 +63,7 @@
extern "C" {
#endif
-#if defined(NO_SHA) || defined(NO_SHA0) || defined(NO_SHA1)
+#if defined(NO_SHA) || (defined(NO_SHA0) && defined(NO_SHA1))
#error SHA is disabled.
#endif