Adapt mbedtls_x509_crt_free after rebase

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel 2023-01-03 09:37:47 +01:00
parent 9232e0ad84
commit 62d8f84be2

View file

@ -3304,6 +3304,8 @@ void mbedtls_x509_crt_free(mbedtls_x509_crt *crt)
{ {
mbedtls_x509_crt *cert_cur = crt; mbedtls_x509_crt *cert_cur = crt;
mbedtls_x509_crt *cert_prv; mbedtls_x509_crt *cert_prv;
mbedtls_x509_sequence *seq_cur;
mbedtls_x509_sequence *seq_prv;
while (cert_cur != NULL) { while (cert_cur != NULL) {
mbedtls_pk_free(&cert_cur->pk); mbedtls_pk_free(&cert_cur->pk);