diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 8dbb8faa..d8abdeb2 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -2232,7 +2232,7 @@ class File_X509 { function getDN($format = FILE_X509_DN_ARRAY, $dn = NULL) { if (!isset($dn)) { - $dn = isset($this->currentCert['tbsCertList']) ? this->currentCert['tbsCertList']['issuer'] : $this->dn; + $dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn; } switch ((int) $format) {