Lines Matching refs:ext
1847 void *ext; in tls_match_altsubject_component() local
1851 ext = X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL); in tls_match_altsubject_component()
1853 for (i = 0; ext && i < sk_GENERAL_NAME_num(ext); i++) { in tls_match_altsubject_component()
1854 gen = sk_GENERAL_NAME_value(ext, i); in tls_match_altsubject_component()
1862 sk_GENERAL_NAME_pop_free(ext, GENERAL_NAME_free); in tls_match_altsubject_component()
2162 void *ext; in tls_match_suffix_helper() local
2171 ext = X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL); in tls_match_suffix_helper()
2173 for (j = 0; ext && j < sk_GENERAL_NAME_num(ext); j++) { in tls_match_suffix_helper()
2174 gen = sk_GENERAL_NAME_value(ext, j); in tls_match_suffix_helper()
2186 sk_GENERAL_NAME_pop_free(ext, GENERAL_NAME_free); in tls_match_suffix_helper()
2190 sk_GENERAL_NAME_pop_free(ext, GENERAL_NAME_free); in tls_match_suffix_helper()
2332 CERTIFICATEPOLICIES *ext; in openssl_cert_tod() local
2338 ext = X509_get_ext_d2i(cert, NID_certificate_policies, NULL, NULL); in openssl_cert_tod()
2339 if (!ext) in openssl_cert_tod()
2342 for (i = 0; i < sk_POLICYINFO_num(ext); i++) { in openssl_cert_tod()
2345 policy = sk_POLICYINFO_value(ext, i); in openssl_cert_tod()
2355 sk_POLICYINFO_pop_free(ext, POLICYINFO_free); in openssl_cert_tod()
2371 void *ext; in openssl_tls_cert_event() local
2411 ext = X509_get_ext_d2i(err_cert, NID_subject_alt_name, NULL, NULL); in openssl_tls_cert_event()
2412 for (i = 0; ext && i < sk_GENERAL_NAME_num(ext); i++) { in openssl_tls_cert_event()
2417 gen = sk_GENERAL_NAME_value(ext, i); in openssl_tls_cert_event()
2447 sk_GENERAL_NAME_pop_free(ext, GENERAL_NAME_free); in openssl_tls_cert_event()