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));