Bug #52765 [Opn->Bgs]: openssl_csr_get_subject returns a single element array when subjectName starts
| From: | pajoye@php.net | Date: | Thu, 02 Sep 2010 12:13:09 +0000 |
| Subject: | Bug #52765 [Opn->Bgs]: openssl_csr_get_subject returns a single element array when subjectName starts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154051@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52765&edit=1
ID: 52765
Updated by: pajoye@php.net
Reported by: Willy dot Weisz at univie dot ac dot at
Summary: openssl_csr_get_subject returns a single element
array when subjectName starts
-Status: Open
+Status: Bogus
Type: Bug
Package: OpenSSL related
Operating System: Linux
PHP Version: 5.3.3
Block user comment: N
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2010-09-02 14:01:40] Willy dot Weisz at univie dot ac dot at
Doing further tests I discovered that the CSR is ill-formed as can be
seen (but I overlooked it) from the content of the single element array
which I pasted from an array listing output.
openssl_csr_get_subject applied to a correct CSR gives the expected
result.
I'm sorry for the premature bug submission. Please clause this bug
report.
------------------------------------------------------------------------
[2010-09-02 10:23:42] Willy dot Weisz at univie dot ac dot at
Description:
------------
openssl_csr_get_subject returns a single element array when the
subjectName starts with DC, e.g.:
for subjectName = /DC=at/DC=austriangridca/O=UniVie/OU=VCPC/CN=Willy
Weisz
openssl_csr_get_subject returns an array
Array
(
[DC] => at/DC=austriangridca/O=UniVie/OU=VCPCWilly Weisz
)
instead of
Array
(
[DC] => at
[DC] => austriangridca
[O] => UniVie
[OU] => VCPC
[CN] => Willy Weisz
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52765&edit=1