summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2017-10-30 13:40:06 +0000
committerJakub Zelenka <bukka@php.net>2017-10-30 16:40:55 +0000
commit80191eebecd2c4552b496a8ad6cbe92e18298118 (patch)
tree5fa547fb9ccb99e4bbb9cfe0284f09c45d73299a
parentcd66aad141681fa04faea2abdf0504ef6873590f (diff)
downloadphp-git-80191eebecd2c4552b496a8ad6cbe92e18298118.tar.gz
Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist
-rw-r--r--ext/openssl/tests/openssl_pkcs12_export_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_pkcs12_export_basic.phpt b/ext/openssl/tests/openssl_pkcs12_export_basic.phpt
index dba4b0e1ce..65692cfe92 100644
--- a/ext/openssl/tests/openssl_pkcs12_export_basic.phpt
+++ b/ext/openssl/tests/openssl_pkcs12_export_basic.phpt
@@ -14,7 +14,7 @@ $cert_res = openssl_x509_read($cert);
$priv_res = openssl_pkey_get_private($priv);
$pass = "test";
$invalid = "";
-$invalid_path = "file:///tmp/php";
+$invalid_path = dirname(__FILE__) . "/invalid_path";
$opts = [];
var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass)); // read certs as a string