diff options
Diffstat (limited to 'ext/openssl/tests/openssl_sign_basic.phpt')
-rw-r--r-- | ext/openssl/tests/openssl_sign_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_sign_basic.phpt b/ext/openssl/tests/openssl_sign_basic.phpt index 36655dd61a..c88d79f323 100644 --- a/ext/openssl/tests/openssl_sign_basic.phpt +++ b/ext/openssl/tests/openssl_sign_basic.phpt @@ -5,7 +5,7 @@ openssl_sign() tests --FILE-- <?php $data = "Testing openssl_sign()"; -$privkey = "file://" . dirname(__FILE__) . "/private_rsa_1024.key"; +$privkey = "file://" . __DIR__ . "/private_rsa_1024.key"; $wrong = "wrong"; var_dump(openssl_sign($data, $sign, $privkey)); // no output |