diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 379863b4..8879c0ab 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -3714,7 +3714,7 @@ class X509 * @param string $domain * @return array */ - private function dnsName($domain) + private static function dnsName($domain) { return ['dNSName' => $domain]; }