1
0
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:
Simon Josefsson 2009-03-18 15:16:18 +00:00
parent 1a9d30108e
commit b50ad0757b

View File

@ -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;