Searched refs:subject_name (Results 1 – 2 of 2) sorted by relevance
/PHP-7.0/ext/openssl/ |
H A D | xp_ssl.c | 402 static zend_bool matches_san_list(X509 *peer, const char *subject_name) /* {{{ */ in matches_san_list() argument 428 if (matches_wildcard_name(subject_name, (const char *)cert_name)) { in matches_san_list() 441 if (strcasecmp(subject_name, (const char*)ipbuffer) == 0) { in matches_san_list() 456 static zend_bool matches_common_name(X509 *peer, const char *subject_name) /* {{{ */ in matches_common_name() argument 470 } else if (matches_wildcard_name(subject_name, buf)) { in matches_common_name() 473 …NG, "Peer certificate CN=`%.*s' did not match expected CN=`%s'", cert_name_len, buf, subject_name); in matches_common_name()
|
H A D | openssl.c | 2175 X509_NAME *subject_name; in PHP_FUNCTION() local 2195 subject_name = X509_get_subject_name(cert); in PHP_FUNCTION() 2196 cert_name = X509_NAME_oneline(subject_name, NULL, 0); in PHP_FUNCTION() 2200 add_assoc_name_entry(return_value, "subject", subject_name, useshortnames); in PHP_FUNCTION()
|
Completed in 23 milliseconds