diff options
Diffstat (limited to 'ext/openssl/tests/openssl_public_encrypt_basic.phpt')
-rw-r--r-- | ext/openssl/tests/openssl_public_encrypt_basic.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/tests/openssl_public_encrypt_basic.phpt b/ext/openssl/tests/openssl_public_encrypt_basic.phpt index 69650a65d9..9db3883b55 100644 --- a/ext/openssl/tests/openssl_public_encrypt_basic.phpt +++ b/ext/openssl/tests/openssl_public_encrypt_basic.phpt @@ -5,8 +5,8 @@ openssl_public_encrypt() tests --FILE-- <?php $data = "Testing openssl_public_encrypt()"; -$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"; class test { |