From d9e7bb9345f9da5deba99421a0e456e0d2092223 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 18 Mar 2009 15:21:50 +0000 Subject: [PATCH] Reorder high/low to match internal order. --- common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.php b/common.php index e863d4d..ef0e8b3 100644 --- a/common.php +++ b/common.php @@ -116,8 +116,8 @@ function decryptOTP($otp, $base_url) { if (sscanf ($response, "OK counter=%04x low=%04x high=%02x use=%02x", - $ret["session_counter"], $ret["high"], - $ret["low"], $ret["session_use"]) != 4) { + $ret["session_counter"], $ret["low"], $ret["high"], + $ret["session_use"]) != 4) { return false; } return $ret;