mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-19 05:43:14 +03:00
pk: use better naming for the new key ID field
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
@ -595,7 +595,7 @@ static void test_ssl_endpoint_certificate_free(mbedtls_test_ssl_endpoint *ep)
|
||||
if (cert->pkey != NULL) {
|
||||
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
||||
if (mbedtls_pk_get_type(cert->pkey) == MBEDTLS_PK_OPAQUE) {
|
||||
psa_destroy_key(cert->pkey->opaque_id);
|
||||
psa_destroy_key(cert->pkey->priv_id);
|
||||
}
|
||||
#endif
|
||||
mbedtls_pk_free(cert->pkey);
|
||||
|
Reference in New Issue
Block a user