summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_csr_sign_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/openssl_csr_sign_basic.phpt')
-rw-r--r--ext/openssl/tests/openssl_csr_sign_basic.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/tests/openssl_csr_sign_basic.phpt b/ext/openssl/tests/openssl_csr_sign_basic.phpt
index 57c9e75c0e..969a8e1073 100644
--- a/ext/openssl/tests/openssl_csr_sign_basic.phpt
+++ b/ext/openssl/tests/openssl_csr_sign_basic.phpt
@@ -4,10 +4,10 @@ openssl_csr_sign() tests
<?php if (!extension_loaded("openssl")) print "skip"; ?>
--FILE--
<?php
-$cert = "file://" . dirname(__FILE__) . "/cert.crt";
-$priv = "file://" . dirname(__FILE__) . "/private_rsa_1024.key";
+$cert = "file://" . __DIR__ . "/cert.crt";
+$priv = "file://" . __DIR__ . "/private_rsa_1024.key";
$wrong = "wrong";
-$pub = "file://" . dirname(__FILE__) . "/public.key";
+$pub = "file://" . __DIR__ . "/public.key";
$config = __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf';
$config_arg = array('config' => $config);