mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
X509: fix pre-5.4 compatability issues
This commit is contained in:
parent
06217429a2
commit
11532ba414
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user