summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/bug28382.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/bug28382.phpt')
-rw-r--r--ext/openssl/tests/bug28382.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/bug28382.phpt b/ext/openssl/tests/bug28382.phpt
index 1ff839bf4c..f64e77dbd2 100644
--- a/ext/openssl/tests/bug28382.phpt
+++ b/ext/openssl/tests/bug28382.phpt
@@ -6,7 +6,7 @@ if (!extension_loaded("openssl")) die("skip");
?>
--FILE--
<?php
-$cert = file_get_contents(dirname(__FILE__) . "/bug28382cert.txt");
+$cert = file_get_contents(__DIR__ . "/bug28382cert.txt");
$ext = openssl_x509_parse($cert);
var_dump($ext['extensions']);
/* openssl 1.0 prepends the string "Full Name:" to the crlDistributionPoints array key.