Skip to content

Commit afd7a17

Browse files
committed
De-duplicate cert name
1 parent f3adf6a commit afd7a17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/openssl/tests/stream_socket_get_crypto_status_supplemental_read.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ if (!function_exists("proc_open")) die("skip no proc_open");
88
?>
99
--FILE--
1010
<?php
11-
$certFile = __DIR__ . DIRECTORY_SEPARATOR . 'crypto_status_read.pem.tmp';
12-
$peerName = 'crypto-status-read';
11+
$certFile = __DIR__ . DIRECTORY_SEPARATOR . 'crypto_status_supplemental_read.pem.tmp';
12+
$peerName = 'crypto-status-supplemental-read';
1313

1414
$serverCode = <<<'CODE'
1515
$ctx = stream_context_create(['ssl' => ['local_cert' => '%s']]);
@@ -76,7 +76,7 @@ ServerClientTestCase::getInstance()->run($clientCode, $serverCode);
7676
?>
7777
--CLEAN--
7878
<?php
79-
@unlink(__DIR__ . DIRECTORY_SEPARATOR . 'crypto_status_read.pem.tmp');
79+
@unlink(__DIR__ . DIRECTORY_SEPARATOR . 'crypto_status_supplemental_read.pem.tmp');
8080
?>
8181
--EXPECT--
8282
hello

0 commit comments

Comments
 (0)