aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/hmac/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac/hmac.h')
-rw-r--r--crypto/hmac/hmac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index 2efce942e2..91b2f8d663 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -62,6 +62,10 @@
extern "C" {
#endif
+#ifdef NO_HMAC
+#error No HMAC support.
+#endif
+
#include <openssl/evp.h>
#define HMAC_MAX_MD_CBLOCK 64