mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 12:04:20 +01:00
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:
parent
6e0d5bd00d
commit
6b362e6f01
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user