Home
last modified time | relevance | path

Searched refs:common_name_asn1 (Results 1 – 2 of 2) sorted by relevance

/external/libevent/sample/
Dopenssl_hostname_validation.c66 ASN1_STRING *common_name_asn1 = NULL; in matches_common_name() local
82 common_name_asn1 = X509_NAME_ENTRY_get_data(common_name_entry); in matches_common_name()
83 if (common_name_asn1 == NULL) { in matches_common_name()
86 common_name_str = (char *) ASN1_STRING_get0_data(common_name_asn1); in matches_common_name()
89 if ((size_t)ASN1_STRING_length(common_name_asn1) != strlen(common_name_str)) { in matches_common_name()
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc261 ASN1_STRING* common_name_asn1 = nullptr; in ssl_get_x509_common_name() local
279 common_name_asn1 = X509_NAME_ENTRY_get_data(common_name_entry); in ssl_get_x509_common_name()
280 if (common_name_asn1 == nullptr) { in ssl_get_x509_common_name()
285 utf8_returned_size = ASN1_STRING_to_UTF8(utf8, common_name_asn1); in ssl_get_x509_common_name()