Home
last modified time | relevance | path

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

/PHP-7.4/ext/openssl/
H A Dxp_ssl.c424 static zend_bool php_openssl_matches_san_list(X509 *peer, const char *subject_name) /* {{{ */ in php_openssl_matches_san_list() argument
450 if (php_openssl_matches_wildcard_name(subject_name, (const char *)cert_name)) { in php_openssl_matches_san_list()
465 if (strcasecmp(subject_name, (const char*)ipbuffer) == 0) { in php_openssl_matches_san_list()
484 static zend_bool php_openssl_matches_common_name(X509 *peer, const char *subject_name) /* {{{ */ in php_openssl_matches_common_name() argument
498 } else if (php_openssl_matches_wildcard_name(subject_name, buf)) { in php_openssl_matches_common_name()
503 cert_name_len, buf, subject_name); in php_openssl_matches_common_name()
H A Dopenssl.c2373 X509_NAME *subject_name; in PHP_FUNCTION() local
2393 subject_name = X509_get_subject_name(cert); in PHP_FUNCTION()
2394 cert_name = X509_NAME_oneline(subject_name, NULL, 0); in PHP_FUNCTION()
2398 php_openssl_add_assoc_name_entry(return_value, "subject", subject_name, useshortnames); in PHP_FUNCTION()

Completed in 45 milliseconds