summaryrefslogtreecommitdiffstats
path: root/crypto/idea/idea.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/idea/idea.h')
-rw-r--r--crypto/idea/idea.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/idea/idea.h b/crypto/idea/idea.h
index 0075426d94..ae32f5692e 100644
--- a/crypto/idea/idea.h
+++ b/crypto/idea/idea.h
@@ -63,6 +63,10 @@
extern "C" {
#endif
+#ifdef NO_IDEA
+#error IDEA is disabled.
+#endif
+
#define IDEA_ENCRYPT 1
#define IDEA_DECRYPT 0