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

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 2 different diffs reported by users for this test.

Count Diff
9 (90%)
009+ string(63) "Full Name: 010+ URI:http://mobile.blue-software.ro:90/ca/crl.shtml" 009- string(%d) "%AURI:http://mobile.blue-software.ro:90/ca/crl.shtml 010- " 018+ string(114) "DirName:/C=RO/ST=Romania/L=Craiova/O=Sergiu/OU=Sergiu SRL/CN=Sergiu CA/emailAddress=n_sergiu@hotmail.com 019+ serial:00" 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- "
1 (10%)
001+ Termsig=11 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(%d) "%AURI: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- }