Test: /ext/openssl/tests/bug28382.phpt - Version 5.3.10        

Bug #28382 the openssl_x509_parse function does not extract the certificate extensions
Submitted: 2004-05-13 09:28:57 Modified: 2006-07-30 17:04:26
From: n_sergiu Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5CVS, 4CVS (2005-02-17) OS: *

There are 3 different diffs reported by users for this test.

Count Diff
638 (99%)
009+ string(65) "
010+ Full Name:
011+ URI:http://mobile.blue-software.ro:90/ca/crl.shtml
009- string(51) "URI:http://mobile.blue-software.ro:90/ca/crl.shtml
3 (0%)
1 (0%)
001+ Segmentation fault
001- array(11) {
002- ["basicConstraints"]=>
003- string(8) "CA:FALSE"
004- ["nsComment"]=>
005- string(38) "For Grid use only; request tag userTag"
006- ["nsCertType"]=>
007- string(30) "SSL Client, SSL Server, S/MIME"
008- ["crlDistributionPoints"]=>
009- string(51) "URI:http://mobile.blue-software.ro:90/ca/crl.shtml
010- "
011- ["nsCaPolicyUrl"]=>
012- string(38) "http://mobile.blue-software.ro:90/pub/"
013- ["subjectAltName"]=>
014- string(28) "email:sergiu@bluesoftware.ro"
015- ["subjectKeyIdentifier"]=>
016- string(59) "B0:A7:FF:F9:41:15:DE:23:39:BD:DD:31:0F:97:A0:B2:A2:74:E0:FC"
017- ["authorityKeyIdentifier"]=>
018- string(115) "DirName:/C=RO/ST=Romania/L=Craiova/O=Sergiu/OU=Sergiu SRL/CN=Sergiu CA/emailAddress=n_sergiu@hotmail.com
019- serial:00
020- "
021- ["keyUsage"]=>
022- string(71) "Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment"
023- ["nsBaseUrl"]=>
024- string(20) "http://62.231.98.52/"
025- ["1.2.3.4"]=>
026- string(4) "%s"
027- }