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