mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-28 16:21:27 +03:00
Remove invalid comments in pk_can_do_ext()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
dab56ba2bd
commit
434d4eb74f
@ -275,13 +275,9 @@ void pk_can_do_ext( int key_type, int key_usage, int key_alg, int key_alg2,
|
|||||||
TEST_EQUAL( mbedtls_pk_can_do_ext( &pk, alg_check ), result );
|
TEST_EQUAL( mbedtls_pk_can_do_ext( &pk, alg_check ), result );
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
/*
|
|
||||||
* Key attributes may have been returned by psa_get_key_attributes()
|
|
||||||
* thus reset them as required.
|
|
||||||
*/
|
|
||||||
psa_reset_key_attributes( &attributes );
|
psa_reset_key_attributes( &attributes );
|
||||||
PSA_ASSERT( psa_destroy_key( key ) );
|
PSA_ASSERT( psa_destroy_key( key ) );
|
||||||
mbedtls_pk_free( &pk ); /* redundant except upon error */
|
mbedtls_pk_free( &pk );
|
||||||
USE_PSA_DONE( );
|
USE_PSA_DONE( );
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user