summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/Store/SQLStore.php
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-01-23 21:01:06 +0000
committerJosh Hoyt <josh@janrain.com>2006-01-23 21:01:06 +0000
commit3a9abc2901af0474835b84295a249cf7f085c271 (patch)
tree0f0a0cef0da66d4e8f90b67d10e69a82eb335ee1 /Auth/OpenID/Store/SQLStore.php
parentda53b33fe37fc7c06f71cfa9a55774305d367f64 (diff)
downloadphp-openid-3a9abc2901af0474835b84295a249cf7f085c271.zip
php-openid-3a9abc2901af0474835b84295a249cf7f085c271.tar.gz
php-openid-3a9abc2901af0474835b84295a249cf7f085c271.tar.bz2
[project @ Simplify randomString implementation]
Diffstat (limited to 'Auth/OpenID/Store/SQLStore.php')
-rw-r--r--Auth/OpenID/Store/SQLStore.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Auth/OpenID/Store/SQLStore.php b/Auth/OpenID/Store/SQLStore.php
index 73dfa89..2fb91c7 100644
--- a/Auth/OpenID/Store/SQLStore.php
+++ b/Auth/OpenID/Store/SQLStore.php
@@ -373,8 +373,7 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
{
$value = $this->_get_auth();
if (!$value) {
- $auth_key = Auth_OpenID_CryptUtil::randomString(
- $this->AUTH_KEY_LEN);
+ $auth_key = Auth_OpenID_randomString($this->AUTH_KEY_LEN);
$auth_key_s = $this->blobEncode($auth_key);
$this->_create_auth($auth_key_s);