Lines Matching refs:cert_name
405 unsigned char *cert_name = NULL; in matches_san_list() local
415 ASN1_STRING_to_UTF8(&cert_name, san->d.dNSName); in matches_san_list()
416 if (ASN1_STRING_length(san->d.dNSName) != strlen((const char*)cert_name)) { in matches_san_list()
417 OPENSSL_free(cert_name); in matches_san_list()
423 len = strlen((const char*)cert_name); in matches_san_list()
424 if (len && strcmp((const char *)&cert_name[len-1], ".") == 0) { in matches_san_list()
425 cert_name[len-1] = '\0'; in matches_san_list()
428 if (matches_wildcard_name(subject_name, (const char *)cert_name)) { in matches_san_list()
429 OPENSSL_free(cert_name); in matches_san_list()
432 OPENSSL_free(cert_name); in matches_san_list()
459 X509_NAME *cert_name; in matches_common_name() local
463 cert_name = X509_get_subject_name(peer); in matches_common_name()
464 cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf)); in matches_common_name()
683 X509_NAME *cert_name; in win_cert_verify_callback() local
688 cert_name = X509_get_subject_name(x509_store_ctx->cert); in win_cert_verify_callback()
689 index = X509_NAME_get_index_by_NID(cert_name, NID_commonName, -1); in win_cert_verify_callback()
697 cert_name_utf8_len = PHP_X509_NAME_ENTRY_TO_UTF8(cert_name, index, cert_name_utf8); in win_cert_verify_callback()