mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-05 03:56:04 +02: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> Signed-off-by: TRodziewicz <rodziewicz@gmail.com>
This commit is contained in:
committed by
TRodziewicz
parent
620063984e
commit
20cbbabc9b
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user