aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dh/dh.h')
-rw-r--r--crypto/dh/dh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h
index 3ae16f3b0c..6a0a186fe3 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -63,6 +63,10 @@
extern "C" {
#endif
+#ifdef NO_DH
+#error DH is disabled.
+#endif
+
#include <openssl/bn.h>
#define DH_FLAG_CACHE_MONT_P 0x01