mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
4b24877a2c
@ -3466,7 +3466,7 @@ class X509
|
||||
|
||||
$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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user