mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-24 07:38:26 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
e72c88cf16
@ -98,7 +98,7 @@ class Random
|
||||
}
|
||||
if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource()
|
||||
$temp = fread($fp, $length);
|
||||
if (strlen($temp) != $length) {
|
||||
if (strlen($temp) == $length) {
|
||||
return $temp;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user