From 1df845db78007def800e6018be9fe89ab8be57d5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 28 Aug 2008 22:18:54 -0400 Subject: [PATCH] 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 51616799f3..f06f49d71b 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']; }