Home
last modified time | relevance | path

Searched refs:peer_fingerprint (Results 1 – 5 of 5) sorted by relevance

/PHP-7.2/ext/openssl/tests/
H A Dbug68920.phpt2 Bug #68920: peer_fingerprint input checks should be strict
32 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => true]]);
36 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => null]]);
40 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => []]]);
44 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => ['foo']]]);
67 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require…
69 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
76 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require…
78 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
H A Dbug76705.phpt2 Bug #76705: unusable ssl => peer_fingerprint in stream_context_create()
30 'peer_fingerprint' => [
H A Dopenssl_peer_fingerprint_basic.phpt41 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '%s');
44 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [
73 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
/PHP-7.2/ext/openssl/
H A Dxp_ssl.c490 zval *peer_fingerprint; in php_openssl_apply_peer_verification_policy() local
508 peer_fingerprint = val; in php_openssl_apply_peer_verification_policy()
540 if (Z_TYPE_P(peer_fingerprint) == IS_STRING || Z_TYPE_P(peer_fingerprint) == IS_ARRAY) { in php_openssl_apply_peer_verification_policy()
541 if (!php_openssl_x509_fingerprint_match(peer, peer_fingerprint)) { in php_openssl_apply_peer_verification_policy()
/PHP-7.2/
H A DNEWS882 . Fixed bug #76705 (unusable ssl => peer_fingerprint in

Completed in 20 milliseconds