Searched refs:peer (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/standard/tests/streams/ |
H A D | bug74090.phpt | 28 stream_socket_recvfrom($server, 1, 0, $peer); 29 stream_socket_sendto($server, $data, 0, $peer);
|
/php-src/ext/sockets/tests/ |
H A D | socket_getpeername.phpt | 24 Warning: socket_getpeername(): unable to retrieve peer name [%i]: %a in %s on line %d
|
H A D | socket_getpeername_ipv4loop.phpt | 51 die('Unable to retrieve peer name');
|
H A D | socket_getpeername_ipv6loop.phpt | 56 die('Unable to retrieve peer name');
|
/php-src/ext/openssl/tests/ |
H A D | bug68920.phpt | 65 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 D | san_peer_matching.phpt | 59 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
|
H A D | san_ipv6_peer_matching.phpt | 64 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
|
H A D | openssl_peer_fingerprint_basic.phpt | 2 Testing peer fingerprint on connection
|
H A D | peer_verification.phpt | 47 // Should succeed with peer verification disabled in context
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 156 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 D | openssl.c | 1896 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