From 178bf3ee8acdb40a10dbd149ee301cd87679b056 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Wed, 4 Oct 2023 19:08:23 +0100 Subject: [PATCH] Fix failing multi-threaded unit test Signed-off-by: Janos Follath --- tests/suites/test_suite_ctr_drbg.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_ctr_drbg.function b/tests/suites/test_suite_ctr_drbg.function index bdf3dca59a..0f1237c7e0 100644 --- a/tests/suites/test_suite_ctr_drbg.function +++ b/tests/suites/test_suite_ctr_drbg.function @@ -97,7 +97,7 @@ void *thread_random_function( void* ctx ) memset(out, 0, sizeof(out)); for(int i = 0; i < thread_random_reps; i++) { - TEST_EQUAL(mbedtls_ctr_drbg_random_with_add((mbedtls_ctr_drbg_context*) ctx, out, sizeof(out), NULL, 0), 0); + TEST_EQUAL(mbedtls_ctr_drbg_random((mbedtls_ctr_drbg_context*) ctx, out, sizeof(out)), 0); } exit: