Searched refs:cert_name_len (Results 1 – 1 of 1) sorted by relevance
538 int cert_name_len; in php_openssl_matches_common_name() local541 cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf)); in php_openssl_matches_common_name()543 if (cert_name_len == -1) { in php_openssl_matches_common_name()545 } else if ((size_t)cert_name_len != strlen(buf)) { in php_openssl_matches_common_name()546 php_error_docref(NULL, E_WARNING, "Peer certificate CN=`%.*s' is malformed", cert_name_len, buf); in php_openssl_matches_common_name()552 cert_name_len, buf, subject_name); in php_openssl_matches_common_name()
Completed in 12 milliseconds