aboutsummaryrefslogtreecommitdiff
path: root/crypto/blake2
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-03-31 22:09:04 +0200
committerAndy Polyakov <appro@openssl.org>2016-04-06 12:29:02 +0200
commitad7c9c9faf8938e17be29cc9afd69d4f0267234c (patch)
tree03566fc4cba784b2767e74bf4e8465a83d65a30c /crypto/blake2
parentf0e1fe7cc30b22d9e24ac38f0d4631f9b8042e12 (diff)
downloadopenssl-ad7c9c9faf8938e17be29cc9afd69d4f0267234c.zip
openssl-ad7c9c9faf8938e17be29cc9afd69d4f0267234c.tar.gz
openssl-ad7c9c9faf8938e17be29cc9afd69d4f0267234c.tar.bz2
Configure: add BLAKE_DEBUG to --strict-warnings set.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/blake2')
-rw-r--r--crypto/blake2/blake2b.c2
-rw-r--r--crypto/blake2/blake2s.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/blake2/blake2b.c b/crypto/blake2/blake2b.c
index 56b56fb..672210a 100644
--- a/crypto/blake2/blake2b.c
+++ b/crypto/blake2/blake2b.c
@@ -78,7 +78,7 @@ static void blake2b_init_param(BLAKE2B_CTX *S, const BLAKE2B_PARAM *P)
/* The param struct is carefully hand packed, and should be 64 bytes on
* every platform. */
- OPENSSL_assert(sizeof(BLAKE2B_PARAM) == 64);
+ assert(sizeof(BLAKE2B_PARAM) == 64);
/* IV XOR ParamBlock */
for (i = 0; i < 8; ++i) {
S->h[i] ^= load64(p + sizeof(S->h[i]) * i);
diff --git a/crypto/blake2/blake2s.c b/crypto/blake2/blake2s.c
index 905a28e..03295c0 100644
--- a/crypto/blake2/blake2s.c
+++ b/crypto/blake2/blake2s.c
@@ -73,7 +73,7 @@ static void blake2s_init_param(BLAKE2S_CTX *S, const BLAKE2S_PARAM *P)
/* The param struct is carefully hand packed, and should be 32 bytes on
* every platform. */
- OPENSSL_assert(sizeof(BLAKE2S_PARAM) == 32);
+ assert(sizeof(BLAKE2S_PARAM) == 32);
blake2s_init0(S);
/* IV XOR ParamBlock */
for (i = 0; i < 8; ++i) {