diff options
Diffstat (limited to 'ext/openssl/tests/peer_verification.phpt')
-rw-r--r-- | ext/openssl/tests/peer_verification.phpt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/openssl/tests/peer_verification.phpt b/ext/openssl/tests/peer_verification.phpt index 3eff6289b4..607b61797f 100644 --- a/ext/openssl/tests/peer_verification.phpt +++ b/ext/openssl/tests/peer_verification.phpt @@ -50,13 +50,6 @@ $clientCode = <<<'CODE' 'CN_match' => 'bug54992.local', ]]); var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); - - // Should succeed with globally available CA file specified via php.ini - ini_set('openssl.cafile', $caFile); - $clientCtx = stream_context_create(['ssl' => [ - 'CN_match' => 'bug54992.local', - ]]); - var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx)); CODE; include 'ServerClientTestCase.inc'; @@ -66,4 +59,3 @@ bool(false) bool(false) resource(%d) of type (stream) resource(%d) of type (stream) -resource(%d) of type (stream) |