yubikey answers U2F_SW_WRONG_PAYLOAD instead of U2F_SW_WRONG_DATA

This commit is contained in:
merlokk 2019-02-01 20:06:19 +02:00
parent 5c8acdd666
commit f6e2bfa683

View File

@ -229,7 +229,7 @@ static int16_t u2f_authenticate(struct u2f_authenticate_request * req, uint8_t c
}
else
{
return U2F_SW_WRONG_DATA;
return U2F_SW_WRONG_PAYLOAD;
}
}
if (