File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ if (OPENSSL_VERSION_NUMBER<0x009070af) die("skip");
10
10
$ cert = file_get_contents (dirname (__FILE__ ) . "/bug28382cert.txt " );
11
11
$ ext = openssl_x509_parse ($ cert );
12
12
var_dump ($ ext ['extensions ' ]);
13
+ /* openssl 1.0 prepends the string "Full Name:" to the crlDistributionPoints array key.
14
+ For now, as this is the one difference only between 0.9.x and 1.x, it's handled with
15
+ placeholders to not to duplicate the test. When more diffs come, a duplication would
16
+ be probably a better solution.
17
+ */
13
18
?>
14
19
--EXPECTF--
15
20
array(11) {
@@ -20,9 +25,7 @@ array(11) {
20
25
["nsCertType"]=>
21
26
string(30) "SSL Client, SSL Server, S/MIME"
22
27
["crlDistributionPoints"]=>
23
- string(65) "
24
- Full Name:
25
- URI:http://mobile.blue-software.ro:90/ca/crl.shtml
28
+ string(%d) "%AURI:http://mobile.blue-software.ro:90/ca/crl.shtml
26
29
"
27
30
["nsCaPolicyUrl"]=>
28
31
string(38) "http://mobile.blue-software.ro:90/pub/"
You can’t perform that action at this time.
0 commit comments