Edit report at http://bugs.php.net/bug.php?id=52765&edit=1

 ID:                 52765
 User updated by:    Willy dot Weisz at univie dot ac dot at
 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
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   Linux
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to