Searched refs:cert_name_len (Results 1 – 1 of 1) sorted by relevance
486 int cert_name_len; in php_openssl_matches_common_name() local489 cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf)); in php_openssl_matches_common_name()491 if (cert_name_len == -1) { in php_openssl_matches_common_name()493 } else if ((size_t)cert_name_len != strlen(buf)) { in php_openssl_matches_common_name()494 php_error_docref(NULL, E_WARNING, "Peer certificate CN=`%.*s' is malformed", cert_name_len, buf); in php_openssl_matches_common_name()500 cert_name_len, buf, subject_name); in php_openssl_matches_common_name()
Completed in 16 milliseconds