Home
last modified time | relevance | path

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

/php-src/ext/openssl/
H A Dxp_ssl.c456 unsigned char *cert_name = NULL; in php_openssl_matches_san_list() local
479 ASN1_STRING_to_UTF8(&cert_name, san->d.dNSName); in php_openssl_matches_san_list()
481 OPENSSL_free(cert_name); in php_openssl_matches_san_list()
487 len = strlen((const char*)cert_name); in php_openssl_matches_san_list()
488 if (len && strcmp((const char *)&cert_name[len-1], ".") == 0) { in php_openssl_matches_san_list()
489 cert_name[len-1] = '\0'; in php_openssl_matches_san_list()
492 if (php_openssl_matches_wildcard_name(subject_name, (const char *)cert_name)) { in php_openssl_matches_san_list()
493 OPENSSL_free(cert_name); in php_openssl_matches_san_list()
498 OPENSSL_free(cert_name); in php_openssl_matches_san_list()
536 X509_NAME *cert_name; in php_openssl_matches_common_name() local
[all …]
H A Dopenssl.c2111 char *cert_name; in PHP_FUNCTION() local
2135 cert_name = X509_NAME_oneline(subject_name, NULL, 0); in PHP_FUNCTION()
2136 add_assoc_string(return_value, "name", cert_name); in PHP_FUNCTION()
2137 OPENSSL_free(cert_name); in PHP_FUNCTION()

Completed in 27 milliseconds