diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index a249c7d9..92214b2c 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -1826,7 +1826,7 @@ class File_X509 { $this->dn['rdnSequence'][] = array( array( - 'type' => $type, + 'type' => $propName, 'value'=> $propValue ) );