mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-24 15:40:03 +00:00
MPI random test: fix small-range test stats check when min > 1
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
951b5695e3
commit
d463edf8c5
@ -1518,7 +1518,7 @@ void mpi_random_many( int min, data_t *bound_bytes, int iterations )
|
||||
|
||||
if( full_stats )
|
||||
{
|
||||
for( b = 1; b < stats_len; b++ )
|
||||
for( b = min; b < stats_len; b++ )
|
||||
{
|
||||
mbedtls_test_set_step( 1000000 + b );
|
||||
/* Assert that each value has been reached at least once.
|
||||
|
Loading…
x
Reference in New Issue
Block a user