From 611f3fb072904082e154f681a697f4f51e0a7387 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Mon, 16 Mar 2026 11:15:01 +0000 Subject: [PATCH] Configure the RNG in 3.6 testcase In Mbed TLS 3.6 we still need to manually configure the RNG for TLS. Add this to the testcase for default verify_result. Signed-off-by: David Horstmann --- tests/suites/test_suite_ssl.function | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 552c06a7b9..38837f2ead 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -6019,6 +6019,7 @@ void verify_result_without_handshake(void) mbedtls_ssl_conf_authmode(&conf, MBEDTLS_SSL_VERIFY_OPTIONAL); mbedtls_ssl_conf_ca_chain(&conf, NULL, NULL); + mbedtls_ssl_conf_rng(&conf, mbedtls_test_random, NULL); TEST_EQUAL(mbedtls_ssl_setup(&ssl, &conf), 0);