Merge branch '2.0'

This commit is contained in:
terrafrost 2017-05-14 08:50:57 -05:00
commit baeb68eb82

View File

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