From f2a1306c867f6c3be7d7e04af39772afbd46b57a Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Wed, 10 Jun 2026 08:38:36 +0100 Subject: [PATCH] Correct syntax of MBEDTLS_GET_UINT32_BE in write_new_session_ticket_mem Signed-off-by: Ben Taylor --- tests/suites/test_suite_ssl.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 34c4d89e00..d6a7ea8e27 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -6432,7 +6432,7 @@ void write_new_session_ticket_mem() * uninitialized memory. * The read here causes MSan and Valgrind to complain if the bug isn't fixed. */ - volatile unsigned char lifetime = MBEDTLS_GET_UINT32_BE(server_ep.ssl.out_msg + 4); + volatile uint32_t lifetime = MBEDTLS_GET_UINT32_BE(server_ep.ssl.out_msg, 4); (void) lifetime; exit: