diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 478fb96c..4ebafa17 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -2930,7 +2930,7 @@ class X509 } $output.= $desc . '=' . $value; $result[$desc] = isset($result[$desc]) ? - array_merge((array) $dn[$prop], array($value)) : + array_merge((array) $result[$desc], array($value)) : $value; $start = false; }