summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/poly1305.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/include/internal/poly1305.h')
-rw-r--r--crypto/include/internal/poly1305.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/include/internal/poly1305.h b/crypto/include/internal/poly1305.h
index 8e2cac5215..b6db3253f2 100644
--- a/crypto/include/internal/poly1305.h
+++ b/crypto/include/internal/poly1305.h
@@ -49,6 +49,10 @@
*/
#include <stddef.h>
+#ifdef OPENSSL_NO_POLY1305
+# error POLY1305 is disabled.
+#endif
+
#define POLY1305_BLOCK_SIZE 16
typedef struct poly1305_context POLY1305;