com php-src: Remove test case invalidated by openssl.cafile accessibility change: ext/openssl/tests/peer_verification.phpt
| From: | rdlowrey@php.net | Date: | Tue, 25 Feb 2014 20:02:13 +0000 |
| Subject: | com php-src: Remove test case invalidated by openssl.cafile accessibility change: ext/openssl/tests/peer_verification.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76205@lists.php.net to get a copy of this message | ||
Commit: bab017ddfdb8b316d0df3a07010ae1031f808c2a
Author: Daniel Lowrey <rdlowrey@php.net> Tue, 25 Feb 2014 13:02:13 -0700
Parents: bd95716b8e779ed765e6afe763bbbe75d86cc7f1
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bab017ddfdb8b316d0df3a07010ae1031f808c2a
Log:
Remove test case invalidated by openssl.cafile accessibility change
Changed paths:
M ext/openssl/tests/peer_verification.phpt
Diff:
diff --git a/ext/openssl/tests/peer_verification.phpt b/ext/openssl/tests/peer_verification.phpt
index 3eff628..607b617 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)