diff options
author | Andy Polyakov <appro@openssl.org> | 2015-12-09 23:02:11 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-12-10 12:05:50 +0100 |
commit | 48f14845551c530ed42834d8034d53222d355175 (patch) | |
tree | 95208bc12fe7e701d641c0664da3a9a9088811c0 /crypto/include/internal/chacha.h | |
parent | a76ba82ccbfee6df5aa86ba2a275b713f3e0f239 (diff) |
Configure: make no-chacha and no-poly1305 work.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/include/internal/chacha.h')
-rw-r--r-- | crypto/include/internal/chacha.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/include/internal/chacha.h b/crypto/include/internal/chacha.h index dacbdf59dc..98787d35b8 100644 --- a/crypto/include/internal/chacha.h +++ b/crypto/include/internal/chacha.h @@ -57,6 +57,10 @@ extern "C" { #endif +# ifdef OPENSSL_NO_CHACHA +# error CHACHA is disabled. +# endif + /* * ChaCha20_ctr32 encrypts |len| bytes from |inp| with the given key and * nonce and writes the result to |out|, which may be equal to |inp|. |