From b50ad0757b86b14ff03fbe668c7a53242d388db6 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 18 Mar 2009 15:16:18 +0000 Subject: [PATCH] Reorder high/low to match internal order. --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index 4886ebf..e863d4d 100644 --- a/common.php +++ b/common.php @@ -115,7 +115,7 @@ function decryptOTP($otp, $base_url) { curl_close($ch); if (sscanf ($response, - "OK counter=%04x high=%02x low=%04x use=%02x", + "OK counter=%04x low=%04x high=%02x use=%02x", $ret["session_counter"], $ret["high"], $ret["low"], $ret["session_use"]) != 4) { return false;