diff options
Diffstat (limited to 'ext/openssl/tests/openssl_private_decrypt_basic.phpt')
-rw-r--r-- | ext/openssl/tests/openssl_private_decrypt_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/tests/openssl_private_decrypt_basic.phpt b/ext/openssl/tests/openssl_private_decrypt_basic.phpt index 76a08b8d55..c318fe89b1 100644 --- a/ext/openssl/tests/openssl_private_decrypt_basic.phpt +++ b/ext/openssl/tests/openssl_private_decrypt_basic.phpt @@ -5,8 +5,8 @@ openssl_private_decrypt() tests --FILE-- <?php $data = "Testing openssl_public_decrypt()"; -$privkey = "file://" . dirname(__FILE__) . "/private_rsa_1024.key"; -$pubkey = "file://" . dirname(__FILE__) . "/public.key"; +$privkey = "file://" . __DIR__ . "/private_rsa_1024.key"; +$pubkey = "file://" . __DIR__ . "/public.key"; $wrong = "wrong"; openssl_public_encrypt($data, $encrypted, $pubkey); |