#18613 [Fbk]: Multiple OU in x509 certificate problem
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 15:52:56 +0000 |
| Subject: | #18613 [Fbk]: Multiple OU in x509 certificate problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19066@lists.php.net to get a copy of this message | ||
ID: 18613
Updated by: sniper@php.net
Reported By: agoralski@certum.pl
Status: Feedback
Bug Type: OpenSSL related
Operating System: Linux 2.4.18-grsec
PHP Version: 4.2.2
New Comment:
Any news about the patch..?
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 11:40:54] jtate@php.net
Please submit the diff -u output to php-dev@php.net.
------------------------------------------------------------------------
[2002-07-28 10:37:10] agoralski@certum.pl
When the certificate has more that one OU (organizationalUnit), the
openssl_x509_parse function will return only the last one.
Proposal:
The openssl_x509_parse should return:
[subject][OU][0]='First OU'
[subject][OU][1]='Second OU'
When there is only one OU field the openssl_x509_parse should return:
[subject][OU]='First and only OU'
It's up to the user to check if [subject][OU] is an array IMO.
We can submit a patch :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18613&edit=1