summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/SQLStore.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-02-14 23:55:17 +0000
committertailor <cygnus@janrain.com>2006-02-14 23:55:17 +0000
commit1e6f1844a1d17bc067210dfb1a8988917c6ce8a6 (patch)
treebc489733413d4256e585d8f7f5c01d1f2549dae1 /Auth/OpenID/SQLStore.php
parentecce27920ed37b53efe31d451b21c94ae90919d8 (diff)
downloadphp-openid-1e6f1844a1d17bc067210dfb1a8988917c6ce8a6.zip
php-openid-1e6f1844a1d17bc067210dfb1a8988917c6ce8a6.tar.gz
php-openid-1e6f1844a1d17bc067210dfb1a8988917c6ce8a6.tar.bz2
[project @ Moved CryptUtil functions into an Auth_OpenID_CryptUtil class.]
Diffstat (limited to 'Auth/OpenID/SQLStore.php')
-rw-r--r--Auth/OpenID/SQLStore.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/OpenID/SQLStore.php b/Auth/OpenID/SQLStore.php
index 7811923..b5237dd 100644
--- a/Auth/OpenID/SQLStore.php
+++ b/Auth/OpenID/SQLStore.php
@@ -353,7 +353,8 @@ class Auth_OpenID_SQLStore extends Auth_OpenID_OpenIDStore {
{
$value = $this->_get_auth();
if (!$value) {
- $auth_key = Auth_OpenID_randomString($this->AUTH_KEY_LEN);
+ $auth_key =
+ Auth_OpenID_CryptUtil::randomString($this->AUTH_KEY_LEN);
$auth_key_s = $this->blobEncode($auth_key);
$this->_create_auth($auth_key_s);