cert_name_len     432 ext/openssl/xp_ssl.c 	int cert_name_len;
cert_name_len     435 ext/openssl/xp_ssl.c 	cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf));
cert_name_len     437 ext/openssl/xp_ssl.c 	if (cert_name_len == -1) {
cert_name_len     439 ext/openssl/xp_ssl.c 	} else if (cert_name_len != strlen(buf)) {
cert_name_len     440 ext/openssl/xp_ssl.c 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Peer certificate CN=`%.*s' is malformed", cert_name_len, buf);
cert_name_len     444 ext/openssl/xp_ssl.c 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Peer certificate CN=`%.*s' did not match expected CN=`%s'", cert_name_len, buf, subject_name);