diff options
Diffstat (limited to 'ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt')
| -rw-r--r-- | ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt b/ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt index 5f74f97b0c..09a7093b8d 100644 --- a/ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt +++ b/ext/openssl/tests/openssl_pkcs7_encrypt_basic.phpt @@ -5,10 +5,10 @@ openssl_pkcs7_encrypt() tests --FILE-- <?php $infile = dirname(__FILE__) . "/cert.crt"; -$outfile = tempnam("/tmp", "ssl"); +$outfile = tempnam(sys_get_temp_dir(), "ssl"); if ($outfile === false) die("failed to get a temporary filename!"); -$outfile2 = tempnam("/tmp", "ssl"); +$outfile2 = tempnam(sys_get_temp_dir(), "ssl"); if ($outfile2 === false) die("failed to get a temporary filename!"); |
