fixed comment
This commit is contained in:
parent
ec0cf79fed
commit
302a3fbe27
|
@ -101,7 +101,7 @@ function display_LoginPage($config_object) {
|
||||||
logNewMessage(LOG_DEBUG, "Display login page");
|
logNewMessage(LOG_DEBUG, "Display login page");
|
||||||
global $error_message;
|
global $error_message;
|
||||||
// generate 256 bit key and initialization vector for user/passwd-encryption
|
// generate 256 bit key and initialization vector for user/passwd-encryption
|
||||||
// check if we can use /dev/random otherwise use /dev/urandom or rand()
|
// check if we can use /dev/urandom otherwise use rand()
|
||||||
if(function_exists('mcrypt_create_iv')) {
|
if(function_exists('mcrypt_create_iv')) {
|
||||||
$key = @mcrypt_create_iv(32, MCRYPT_DEV_URANDOM);
|
$key = @mcrypt_create_iv(32, MCRYPT_DEV_URANDOM);
|
||||||
if (! $key) {
|
if (! $key) {
|
||||||
|
|
Loading…
Reference in New Issue