mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 19:21:09 +00:00
X509: fix another PHP 8.4 deprecation
This commit is contained in:
parent
e432117c2b
commit
6dcb3bbca6
@ -1815,7 +1815,7 @@ class X509
|
||||
* @param array $dn optional
|
||||
* @return array|bool|string
|
||||
*/
|
||||
public function getDN($format = self::DN_ARRAY, array $dn = null)
|
||||
public function getDN($format = self::DN_ARRAY, $dn = null)
|
||||
{
|
||||
if (!isset($dn)) {
|
||||
$dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn;
|
||||
|
Loading…
Reference in New Issue
Block a user