Update PasswordHash.php

Updated line 54 to $output.
This commit is contained in:
laf
2014-02-25 23:45:12 +00:00
parent 519e4aba84
commit 1fffec8e2d

View File

@ -51,7 +51,7 @@ class PasswordHash {
$output = openssl_random_pseudo_bytes($count,$strong);
if(empty($count))
if(empty($output))
{
if (is_readable('/dev/urandom') &&
($fh = @fopen('/dev/urandom', 'rb')))