From 9fc868012c393725b7c8ee0ffa564de85745ac48 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Fri, 22 Sep 2023 10:56:13 +0100 Subject: [PATCH] Fix test error Signed-off-by: Dave Rodgman --- tests/suites/test_suite_constant_time.function | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/suites/test_suite_constant_time.function b/tests/suites/test_suite_constant_time.function index b9a78c8c68..31273652d5 100644 --- a/tests/suites/test_suite_constant_time.function +++ b/tests/suites/test_suite_constant_time.function @@ -119,8 +119,8 @@ void mbedtls_ct_error_if(int cond, int t, int f) { mbedtls_ct_condition_t c = mbedtls_ct_bool(cond); - mbedtls_ct_uint_t expected = c ? t : f; - mbedtls_ct_uint_t expected0 = c ? t : 0; + int expected = c ? t : f; + int expected0 = c ? t : 0; TEST_CF_SECRET(&c, sizeof(c)); TEST_CF_SECRET(&t, sizeof(t));