Initialize & free PSA in test_multiple_psks()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
b743d95051
commit
4c3b4e079c
1 changed files with 3 additions and 0 deletions
|
@ -5310,6 +5310,7 @@ void test_multiple_psks()
|
|||
|
||||
mbedtls_ssl_config conf;
|
||||
|
||||
USE_PSA_INIT( );
|
||||
mbedtls_ssl_config_init( &conf );
|
||||
|
||||
TEST_ASSERT( mbedtls_ssl_conf_psk( &conf,
|
||||
|
@ -5323,6 +5324,8 @@ void test_multiple_psks()
|
|||
exit:
|
||||
|
||||
mbedtls_ssl_config_free( &conf );
|
||||
|
||||
USE_PSA_DONE( );
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue