]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix random function name
authorEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:18:54 +0000 (22:18 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:18:54 +0000 (22:18 -0400)
darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.gz

lib/util.php

index 51616799f374fb67a34938c611aeca2f6912e252..f06f49d71be682e9660a962237a646ddc9115b3a 100644 (file)
@@ -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'];
 }