From 1df845db78007def800e6018be9fe89ab8be57d5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 28 Aug 2008 22:18:54 -0400 Subject: fix random function name darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 51616799f..f06f49d71 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1481,7 +1481,7 @@ function common_canonical_sms($sms) { function common_session_token() { common_ensure_session(); if (!array_key_exists('token', $_SESSION)) { - $_SESSION['token'] = common_random_bytes(64); + $_SESSION['token'] = common_good_rand(64); } return $_SESSION['token']; } -- cgit v1.2.3-54-g00ecf