projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduced isReachableFilePath() and isReadableFile().
[core.git]
/
inc
/
classes
/
main
/
scrypt
/
class_Scrypt.php
diff --git
a/inc/classes/main/scrypt/class_Scrypt.php
b/inc/classes/main/scrypt/class_Scrypt.php
index bcbc5b3eb26095e35dcae76dd572dec3b7059f0e..3bc5d76c216c5f43861253ccaad03bcd1845021c 100644
(file)
--- a/
inc/classes/main/scrypt/class_Scrypt.php
+++ b/
inc/classes/main/scrypt/class_Scrypt.php
@@
-90,7
+90,7
@@
abstract class Scrypt extends BaseFrameworkSystem
$buffer_valid = true;
}
}
$buffer_valid = true;
}
}
- if (!$buffer_valid &&
is_readab
le('/dev/urandom')) {
+ if (!$buffer_valid &&
BaseFrameworkSystem::isReadableFi
le('/dev/urandom')) {
$f = fopen('/dev/urandom', 'r');
$read = static::strlen($buffer);
while ($read < $length) {
$f = fopen('/dev/urandom', 'r');
$read = static::strlen($buffer);
while ($read < $length) {