summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Net/OpenID/CryptUtil.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Net/OpenID/CryptUtil.php b/Net/OpenID/CryptUtil.php
index ce8573a..dd49a65 100644
--- a/Net/OpenID/CryptUtil.php
+++ b/Net/OpenID/CryptUtil.php
@@ -254,8 +254,8 @@ class Net_OpenID_CryptUtil {
return null;
}
- $data = unpack('N', $str);
- return $data[1];
+ $data = unpack('Nx', $str);
+ return $data['x'];
}
/**