1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00

X509: fix pre-5.4 compatability issues

This commit is contained in:
terrafrost 2019-09-18 08:20:33 -05:00
parent 06217429a2
commit 11532ba414

View File

@ -2580,7 +2580,7 @@ class File_X509
{
$ip = base64_decode($ip);
list(, $ip, $mask) = unpack('N2', $ip);
return [long2ip($ip), long2ip($mask)];
return array(long2ip($ip), long2ip($mask));
}
/**