summaryrefslogtreecommitdiffstats
path: root/crypto/rc2/rc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rc2/rc2.h')
-rw-r--r--crypto/rc2/rc2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rc2/rc2.h b/crypto/rc2/rc2.h
index 0204745f6f..9571efb755 100644
--- a/crypto/rc2/rc2.h
+++ b/crypto/rc2/rc2.h
@@ -63,6 +63,10 @@
extern "C" {
#endif
+#ifdef NO_RC2
+#error RC2 is disabled.
+#endif
+
#define RC2_ENCRYPT 1
#define RC2_DECRYPT 0