summaryrefslogtreecommitdiffstats
path: root/crypto/ripemd/ripemd.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ripemd/ripemd.h')
-rw-r--r--crypto/ripemd/ripemd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/ripemd/ripemd.h b/crypto/ripemd/ripemd.h
index b2708d59ca..ab76be4c33 100644
--- a/crypto/ripemd/ripemd.h
+++ b/crypto/ripemd/ripemd.h
@@ -63,6 +63,10 @@
extern "C" {
#endif
+#ifdef NO_RIPEMD
+#error RIPEMD is disabled.
+#endif
+
#define RIPEMD160_CBLOCK 64
#define RIPEMD160_LBLOCK 16
#define RIPEMD160_BLOCK 16