Skip to content

Commit

Permalink
Update libraries/joomla/crypt/crypt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Sep 28, 2012
1 parent d50fe07 commit 6c96484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/crypt/crypt.php
Expand Up @@ -194,7 +194,7 @@ public static function genRandomBytes($length = 16)
}
$microEnd = microtime(true) * 1000000;
$entropy .= $microStart . $microEnd;
if ($microStart > $microEnd)
if ($microStart >= $microEnd)
{
$microEnd += 1000000;
}
Expand Down

0 comments on commit 6c96484

Please sign in to comment.