#18613 [NEW]: Multiple OU in x509 certificate problem

From: Date: Sun, 28 Jul 2002 14:37:10 +0000
Subject: #18613 [NEW]: Multiple OU in x509 certificate problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15445@lists.php.net to get a copy of this message
From: agoralski@certum.pl Operating system: Linux 2.4.18-grsec PHP version: 4.2.2 PHP Bug Type: OpenSSL related Bug description: Multiple OU in x509 certificate problem 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 bug report at http://bugs.php.net/?id=18613&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18613&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18613&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18613&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18613&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18613&r=support Expected behavior: http://bugs.php.net/fix.php?id=18613&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18613&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18613&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18613&r=globals

« previous php.bugs (#15445) next »