ssl_helpers: Restore rng_seed incrementation

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-03-04 10:24:27 +01:00
parent aab4a546bf
commit 987cf898db

View File

@ -43,7 +43,7 @@ void mbedtls_test_init_handshake_options(
mbedtls_test_handshake_test_options *opts)
{
#if defined(MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED)
int rng_seed = 0xBEEF;
static int rng_seed = 0xBEEF;
srand(rng_seed);
rng_seed += 0xD0;