mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 09:24:12 +01:00
Reorder high/low to match internal order.
This commit is contained in:
parent
1a9d30108e
commit
b50ad0757b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user