mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Merge branch '2.0'
This commit is contained in:
commit
baeb68eb82
@ -2417,7 +2417,7 @@ class X509
|
|||||||
|
|
||||||
$altName = [];
|
$altName = [];
|
||||||
|
|
||||||
if (isset($subject->domains) && count($subject->domains) > 1) {
|
if (isset($subject->domains) && count($subject->domains)) {
|
||||||
$altName = array_map(['\phpseclib\File\X509', 'dnsName'], $subject->domains);
|
$altName = array_map(['\phpseclib\File\X509', 'dnsName'], $subject->domains);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user