]> granicus.if.org Git - php/commitdiff
Fix cleaning tmp output file in openssl_csr_export_to_file test
authorJakub Zelenka <bukka@php.net>
Mon, 30 Oct 2017 14:15:23 +0000 (14:15 +0000)
committerJakub Zelenka <bukka@php.net>
Mon, 30 Oct 2017 16:40:56 +0000 (16:40 +0000)
ext/openssl/tests/openssl_csr_export_to_file_basic.phpt

index f88530ba483448d2c05a6bb0944444795583d728..1576302ae3f912d42793090d9dc25971e30366e0 100644 (file)
@@ -43,6 +43,7 @@ var_dump(openssl_csr_export_to_file($csr, $csrfile, false));
 ?>
 --CLEAN--
 <?php
+$csrfile = dirname(__FILE__) . "/openssl_csr_export_to_file_csr.tmp";
 if (file_exists($csrfile)) {
        unlink($csrfile);
 }