We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a595b0f commit 8106688Copy full SHA for 8106688
ext/openssl/tests/openssl_get_cert_locations_basic.phpt
@@ -0,0 +1,28 @@
1
+--TEST--
2
+openssl_get_cert_locations() tests
3
+--SKIPIF--
4
+<?php if (!extension_loaded("openssl")) print "skip"; ?>
5
+--FILE--
6
+<?php
7
+// openssl locations differ per distro.
8
+var_dump(openssl_get_cert_locations());
9
+?>
10
+--EXPECTF--
11
+array(8) {
12
+ ["default_cert_file"]=>
13
+ string(%d) "%s"
14
+ ["default_cert_file_env"]=>
15
16
+ ["default_cert_dir"]=>
17
18
+ ["default_cert_dir_env"]=>
19
20
+ ["default_private_dir"]=>
21
22
+ ["default_default_cert_area"]=>
23
24
+ ["ini_cafile"]=>
25
+ string(%d) ""
26
+ ["ini_capath"]=>
27
28
+}
0 commit comments