Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/standard/tests/streams/
H A Dbug74090.phpt28 stream_socket_recvfrom($server, 1, 0, $peer);
29 stream_socket_sendto($server, $data, 0, $peer);
/php-src/ext/sockets/tests/
H A Dsocket_getpeername.phpt24 Warning: socket_getpeername(): unable to retrieve peer name [%i]: %a in %s on line %d
H A Dsocket_getpeername_ipv4loop.phpt51 die('Unable to retrieve peer name');
H A Dsocket_getpeername_ipv6loop.phpt56 die('Unable to retrieve peer name');
/php-src/ext/openssl/tests/
H A Dbug68920.phpt65 Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on li…
72 Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on li…
H A Dsan_peer_matching.phpt59 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
H A Dsan_ipv6_peer_matching.phpt64 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
H A Dopenssl_peer_fingerprint_basic.phpt2 Testing peer fingerprint on connection
H A Dpeer_verification.phpt47 // Should succeed with peer verification disabled in context
/php-src/ext/openssl/
H A Dxp_ssl.c156 extern zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, bool raw);
365 fingerprint = php_openssl_x509_fingerprint(peer, method, 0); in php_openssl_x509_fingerprint_cmp()
374 static bool php_openssl_x509_fingerprint_match(X509 *peer, zval *val) in php_openssl_x509_fingerprint_match() argument
389 return method && php_openssl_x509_fingerprint_cmp(peer, method, Z_STRVAL_P(val)) == 0; in php_openssl_x509_fingerprint_match()
404 if (php_openssl_x509_fingerprint_cmp(peer, ZSTR_VAL(key), Z_STRVAL_P(current)) != 0) { in php_openssl_x509_fingerprint_match()
453 static bool php_openssl_matches_san_list(X509 *peer, const char *subject_name) /* {{{ */ in php_openssl_matches_san_list() argument
459 GENERAL_NAMES *alt_names = X509_get_ext_d2i(peer, NID_subject_alt_name, 0, 0); in php_openssl_matches_san_list()
540 cert_name = X509_get_subject_name(peer); in php_openssl_matches_common_name()
614 if (!php_openssl_x509_fingerprint_match(peer, peer_fingerprint)) { in php_openssl_apply_peer_verification_policy()
638 if (php_openssl_matches_san_list(peer, peer_name)) { in php_openssl_apply_peer_verification_policy()
[all …]
H A Dopenssl.c1896 zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, bool raw) in php_openssl_x509_fingerprint() argument
1906 } else if (!X509_digest(peer, mdtype, md, &n)) { in php_openssl_x509_fingerprint()

Completed in 44 milliseconds