summaryrefslogtreecommitdiffstats
path: root/crypto/mdc2/mdc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/mdc2/mdc2.h')
-rw-r--r--crypto/mdc2/mdc2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h
index 39a6c9e9ff..ec8e159fc9 100644
--- a/crypto/mdc2/mdc2.h
+++ b/crypto/mdc2/mdc2.h
@@ -65,6 +65,10 @@ extern "C" {
#include <openssl/des.h>
+#ifdef NO_MDC2
+#error MDC2 is disabled.
+#endif
+
#define MDC2_BLOCK 8
#define MDC2_DIGEST_LENGTH 16