Searched refs:cert_name_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.1/ext/openssl/ |
H A D | xp_ssl.c | 452 int cert_name_len; in matches_common_name() local 455 cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf)); in matches_common_name() 457 if (cert_name_len == -1) { in matches_common_name() 459 } else if ((size_t)cert_name_len != strlen(buf)) { in matches_common_name() 460 php_error_docref(NULL, E_WARNING, "Peer certificate CN=`%.*s' is malformed", cert_name_len, buf); in matches_common_name() 464 …WARNING, "Peer certificate CN=`%.*s' did not match expected CN=`%s'", cert_name_len, buf, subject_… in matches_common_name()
|
Completed in 9 milliseconds