Lines Matching refs:ext
606 void *ext; in tls_match_alt_subject_component() local
610 ext = wolfSSL_X509_get_ext_d2i(cert, ALT_NAMES_OID, NULL, NULL); in tls_match_alt_subject_component()
612 for (i = 0; ext && i < wolfSSL_sk_num(ext); i++) { in tls_match_alt_subject_component()
613 gen = wolfSSL_sk_value(ext, i); in tls_match_alt_subject_component()
622 wolfSSL_sk_GENERAL_NAME_free(ext); in tls_match_alt_subject_component()
707 void *ext; in tls_match_suffix_helper() local
716 ext = wolfSSL_X509_get_ext_d2i(cert, ALT_NAMES_OID, NULL, NULL); in tls_match_suffix_helper()
718 for (j = 0; ext && j < wolfSSL_sk_num(ext); j++) { in tls_match_suffix_helper()
719 gen = wolfSSL_sk_value(ext, j); in tls_match_suffix_helper()
732 wolfSSL_sk_ASN1_OBJECT_free(ext); in tls_match_suffix_helper()
736 wolfSSL_sk_GENERAL_NAME_free(ext); in tls_match_suffix_helper()
890 void *ext; in wolfssl_tls_cert_event() local
923 ext = wolfSSL_X509_get_ext_d2i(err_cert, ALT_NAMES_OID, NULL, NULL); in wolfssl_tls_cert_event()
924 for (i = 0; ext && i < wolfSSL_sk_num(ext); i++) { in wolfssl_tls_cert_event()
929 gen = wolfSSL_sk_value((void *) ext, i); in wolfssl_tls_cert_event()
962 wolfSSL_sk_GENERAL_NAME_free(ext); in wolfssl_tls_cert_event()