summaryrefslogtreecommitdiffstats
path: root/crypto/blake2
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-03-18 19:30:20 +0100
committerRich Salz <rsalz@openssl.org>2016-03-21 00:48:36 +0100
commit3c27208fab1dc29f47f088490404df5abfcdfb05 (patch)
tree3654ea8c099e19203a48ce2688aeee02f46fd12b /crypto/blake2
parentGH886: CONNECT should use HTTP/1.1 (diff)
downloadopenssl-3c27208fab1dc29f47f088490404df5abfcdfb05.tar.xz
openssl-3c27208fab1dc29f47f088490404df5abfcdfb05.zip
Remove #error from include files.
Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/blake2')
-rw-r--r--crypto/blake2/blake2_locl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/blake2/blake2_locl.h b/crypto/blake2/blake2_locl.h
index ba438f4e3e..10334b1622 100644
--- a/crypto/blake2/blake2_locl.h
+++ b/crypto/blake2/blake2_locl.h
@@ -18,10 +18,6 @@
#include <stddef.h>
#include "e_os.h"
-# ifdef OPENSSL_NO_BLAKE2
-# error BLAKE2 is disabled.
-# endif
-
#define BLAKE2S_BLOCKBYTES 64
#define BLAKE2S_OUTBYTES 32
#define BLAKE2S_KEYBYTES 32