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 <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-02-15 12:03:16 +01:00
parent 6e0d5bd00d
commit 6b362e6f01

View file

@ -46,7 +46,7 @@ static int check_key_attributes_sanity( mbedtls_svc_key_id_t key )
psa_key_lifetime_t lifetime; psa_key_lifetime_t lifetime;
mbedtls_svc_key_id_t id; mbedtls_svc_key_id_t id;
psa_key_type_t type; psa_key_type_t type;
psa_key_type_t bits; size_t bits;
PSA_ASSERT( psa_get_key_attributes( key, &attributes ) ); PSA_ASSERT( psa_get_key_attributes( key, &attributes ) );
lifetime = psa_get_key_lifetime( &attributes ); lifetime = psa_get_key_lifetime( &attributes );