From 80191eebecd2c4552b496a8ad6cbe92e18298118 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Mon, 30 Oct 2017 13:40:06 +0000 Subject: Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist --- ext/openssl/tests/openssl_pkcs12_export_basic.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1