Configure: add BLAKE_DEBUG to --strict-warnings set.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Andy Polyakov 2016-03-31 22:09:04 +02:00
parent f0e1fe7cc3
commit ad7c9c9faf
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lx
# Minimum warning options... any contributions to OpenSSL should at least get # Minimum warning options... any contributions to OpenSSL should at least get
# past these. # past these.
my $gcc_devteam_warn = "-DPEDANTIC -DREF_DEBUG -DDEBUG_UNUSED -DBIO_DEBUG" my $gcc_devteam_warn = "-DPEDANTIC -DREF_DEBUG -DDEBUG_UNUSED -DBIO_DEBUG -DBLAKE_DEBUG"
. " -pedantic" . " -pedantic"
. " -Wall" . " -Wall"
. " -Wno-long-long" . " -Wno-long-long"

View File

@ -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 /* The param struct is carefully hand packed, and should be 64 bytes on
* every platform. */ * every platform. */
OPENSSL_assert(sizeof(BLAKE2B_PARAM) == 64); assert(sizeof(BLAKE2B_PARAM) == 64);
/* IV XOR ParamBlock */ /* IV XOR ParamBlock */
for (i = 0; i < 8; ++i) { for (i = 0; i < 8; ++i) {
S->h[i] ^= load64(p + sizeof(S->h[i]) * i); S->h[i] ^= load64(p + sizeof(S->h[i]) * i);

View File

@ -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 /* The param struct is carefully hand packed, and should be 32 bytes on
* every platform. */ * every platform. */
OPENSSL_assert(sizeof(BLAKE2S_PARAM) == 32); assert(sizeof(BLAKE2S_PARAM) == 32);
blake2s_init0(S); blake2s_init0(S);
/* IV XOR ParamBlock */ /* IV XOR ParamBlock */
for (i = 0; i < 8; ++i) { for (i = 0; i < 8; ++i) {