Skip to content

Commit

Permalink
Set different invalid path in openssl_pkcs12_export so it is more unl…
Browse files Browse the repository at this point in the history
…ikely to exist
  • Loading branch information
bukka committed Oct 30, 2017
1 parent cd66aad commit 80191ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/openssl/tests/openssl_pkcs12_export_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80191ee

Please sign in to comment.