Skip to content

Commit 1a1e12c

Browse files
kamazeebukka
authored andcommitted
Fix cleaning up after openssl_pkcs7_verify_basic test
1 parent 1fab01b commit 1a1e12c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/openssl/tests/openssl_pkcs7_verify_basic.phpt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ if (file_exists($contentfile)) {
4343
?>
4444
--CLEAN--
4545
<?php
46-
if (file_exists($pkcsfile)) {
47-
unlink($pkcsfile);
48-
}
46+
unlink(__DIR__ . DIRECTORY_SEPARATOR . '/openssl_pkcs7_verify__pkcsfile.tmp');
4947
?>
5048
--EXPECTF--
5149
int(-1)

0 commit comments

Comments
 (0)