minor fixes, typos

This commit is contained in:
El RIDO 2016-08-10 15:03:06 +02:00
parent 767a995916
commit 1ef28d7a5c
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@
* @version 0.22
*/
namespace PrivateBin\model;
namespace PrivateBin\Model;
use PrivateBin\Sjcl;
use PrivateBin\Persistence\TrafficLimiter;

View File

@ -49,7 +49,6 @@ class ServerSalt extends AbstractPersistence
$randomSalt = bin2hex(mcrypt_create_iv(256, MCRYPT_DEV_URANDOM));
} else {
// fallback to mt_rand()
for ($i = 0; $i < 256; ++$i) {
$randomSalt .= base_convert(mt_rand(), 10, 16);
}