From 6b362e6f01557bff5eb798f77ef1c4f0187d51c9 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 15 Feb 2021 12:03:16 +0100 Subject: [PATCH] Fix copypasta for the type of a variable MSVC started (rightfully) complaining after moving the code to a separate .c file. Signed-off-by: Gilles Peskine --- tests/src/psa_exercise_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/psa_exercise_key.c b/tests/src/psa_exercise_key.c index 479d91db2..9f80d7b65 100644 --- a/tests/src/psa_exercise_key.c +++ b/tests/src/psa_exercise_key.c @@ -46,7 +46,7 @@ static int check_key_attributes_sanity( mbedtls_svc_key_id_t key ) psa_key_lifetime_t lifetime; mbedtls_svc_key_id_t id; psa_key_type_t type; - psa_key_type_t bits; + size_t bits; PSA_ASSERT( psa_get_key_attributes( key, &attributes ) ); lifetime = psa_get_key_lifetime( &attributes );