Skip to content

Commit

Permalink
fof is an external lib so we need to revert that change at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Sep 25, 2016
1 parent c469af9 commit 0f8951b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/fof/encrypt/randval.php
Expand Up @@ -112,7 +112,7 @@ public function genRandomBytes($length = 32)
* Collect any entropy available from the PHP system and filesystem.
* If we have ssl data that isn't strong, we use it once.
*/
$entropy = mt_rand() . uniqid(mt_rand(), true) . $sslStr;
$entropy = rand() . uniqid(mt_rand(), true) . $sslStr;
$entropy .= implode('', @fstat(fopen(__FILE__, 'r')));
$entropy .= memory_get_usage();
$sslStr = '';
Expand Down

0 comments on commit 0f8951b

Please sign in to comment.