diff options
author | alecpl <alec@alec.pl> | 2009-09-07 12:51:21 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-07 12:51:21 +0000 |
commit | b48d9bf5d412a6f56f3f9ba4bad141ddfe175727 (patch) | |
tree | 6eb95a2196a370c580832df650e4e5a03a6b571c /program/include/rcmail.php | |
parent | 3d601d267dfb0ffca32ad953f36944b83910d907 (diff) |
- Use faster/secure mt_rand() (#1486094)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 4624ee194..b148e5168 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -879,7 +879,7 @@ class rcmail $key = $this->task; if (!$_SESSION['request_tokens'][$key]) - $_SESSION['request_tokens'][$key] = md5(uniqid($key . rand(), true)); + $_SESSION['request_tokens'][$key] = md5(uniqid($key . mt_rand(), true)); return $_SESSION['request_tokens'][$key]; } |