mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +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);
|
$ip = base64_decode($ip);
|
||||||
list(, $ip, $mask) = unpack('N2', $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