Free psa crypto at the end of programs when initialized

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel
2023-04-19 10:15:26 +02:00
parent af48f3cf8e
commit c4ddf92986
15 changed files with 21 additions and 13 deletions

View File

@@ -801,6 +801,7 @@ exit:
mbedtls_ssl_config_free(&conf);
mbedtls_ctr_drbg_free(&ctr_drbg);
mbedtls_entropy_free(&entropy);
mbedtls_psa_crypto_free();
#if defined(_WIN32)
mbedtls_printf(" + Press Enter to exit this program.\n");