Lines Matching refs:cert_cur
2825 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free() local
2828 while (cert_cur != NULL) { in mbedtls_x509_crt_free()
2829 mbedtls_pk_free(&cert_cur->pk); in mbedtls_x509_crt_free()
2832 mbedtls_free(cert_cur->sig_opts); in mbedtls_x509_crt_free()
2835 mbedtls_asn1_free_named_data_list_shallow(cert_cur->issuer.next); in mbedtls_x509_crt_free()
2836 mbedtls_asn1_free_named_data_list_shallow(cert_cur->subject.next); in mbedtls_x509_crt_free()
2837 mbedtls_asn1_sequence_free(cert_cur->ext_key_usage.next); in mbedtls_x509_crt_free()
2838 mbedtls_asn1_sequence_free(cert_cur->subject_alt_names.next); in mbedtls_x509_crt_free()
2839 mbedtls_asn1_sequence_free(cert_cur->certificate_policies.next); in mbedtls_x509_crt_free()
2841 if (cert_cur->raw.p != NULL && cert_cur->own_buffer) { in mbedtls_x509_crt_free()
2842 mbedtls_platform_zeroize(cert_cur->raw.p, cert_cur->raw.len); in mbedtls_x509_crt_free()
2843 mbedtls_free(cert_cur->raw.p); in mbedtls_x509_crt_free()
2846 cert_prv = cert_cur; in mbedtls_x509_crt_free()
2847 cert_cur = cert_cur->next; in mbedtls_x509_crt_free()