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 <[email protected]>
Signed-off-by: TRodziewicz <[email protected]>
This commit is contained in:
Gilles Peskine
2021-02-25 11:02:16 +01:00
committed by TRodziewicz
parent 620063984e
commit 20cbbabc9b
+1 -1
View File
@@ -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 );