summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authorKevin Turner <kevin@janrain.com>2007-09-21 20:46:37 +0000
committerKevin Turner <kevin@janrain.com>2007-09-21 20:46:37 +0000
commit808f9c76f9c68af06008cd147595efe0f3323923 (patch)
tree73fc077ef7a98fb2b33664bd6d386c5c186baefa /Auth
parent290935d4bdf011ab4cace0ffe758ef8000d66b0b (diff)
downloadphp-openid-808f9c76f9c68af06008cd147595efe0f3323923.zip
php-openid-808f9c76f9c68af06008cd147595efe0f3323923.tar.gz
php-openid-808f9c76f9c68af06008cd147595efe0f3323923.tar.bz2
[project @ Auth_OpenID_checkTimestamp: use gmmktime as default comparison value, not time()]
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/Nonce.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Nonce.php b/Auth/OpenID/Nonce.php
index 71a33e1..25e3638 100644
--- a/Auth/OpenID/Nonce.php
+++ b/Auth/OpenID/Nonce.php
@@ -74,7 +74,7 @@ function Auth_OpenID_checkTimestamp($nonce_string,
}
if ($now === null) {
- $now = time();
+ $now = gmmktime();
}
$stamp = $parts[0];