1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2017-05-14 08:50:13 -05:00
commit 4b24877a2c

View File

@ -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);
}