mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 18:18:05 +01:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
4b24877a2c
@ -3466,7 +3466,7 @@ class X509
|
|||||||
|
|
||||||
$altName = array();
|
$altName = array();
|
||||||
|
|
||||||
if (isset($subject->domains) && count($subject->domains) > 1) {
|
if (isset($subject->domains) && count($subject->domains)) {
|
||||||
$altName = array_map(array('\phpseclib\File\X509', '_dnsName'), $subject->domains);
|
$altName = array_map(array('\phpseclib\File\X509', '_dnsName'), $subject->domains);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user