diff options
author | http://j3h.us/ <http://j3h.us/@aja.local> | 2008-06-20 22:40:43 +0000 |
---|---|---|
committer | http://j3h.us/ <http://j3h.us/@aja.local> | 2008-06-20 22:40:43 +0000 |
commit | ddce7335fa166f8535af74097340800e08337664 (patch) | |
tree | 089e844d88515d96d311e34b1e0677321eae696a /Auth | |
parent | d3f324b9bc6118adcb0c0224852e4260f79390b2 (diff) | |
download | php-openid-ddce7335fa166f8535af74097340800e08337664.zip php-openid-ddce7335fa166f8535af74097340800e08337664.tar.gz php-openid-ddce7335fa166f8535af74097340800e08337664.tar.bz2 |
[project @ Test and fix HMAC-SHA256]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/HMAC.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/HMAC.php b/Auth/OpenID/HMAC.php index 6e1cfb6..ec42db8 100644 --- a/Auth/OpenID/HMAC.php +++ b/Auth/OpenID/HMAC.php @@ -88,7 +88,7 @@ if (function_exists('hash_hmac') && function Auth_OpenID_HMACSHA256($key, $text) { // Return raw MAC (not hex string). - return hash_hmac('sha256', $key, $text, true); + return hash_hmac('sha256', $text, $key, true); } define('Auth_OpenID_HMACSHA256_SUPPORTED', true); |