Sparse array limit testing: reduce the range limit for the number of bits

in a sparse array pointer block.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8221)
master
Pauli 2019-02-13 16:11:16 +10:00
parent b754a8a159
commit e0ae0585be
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
# else
# define OPENSSL_SA_BLOCK_BITS 12
# endif
#elif OPENSSL_SA_BLOCK_BITS < 2 || OPENSSL_SA_BLOCK_BITS > BN_BITS2
#elif OPENSSL_SA_BLOCK_BITS < 2 || OPENSSL_SA_BLOCK_BITS > (BN_BITS2 - 1)
# error OPENSSL_SA_BLOCK_BITS is out of range
#endif