diff --git a/fido2/u2f.c b/fido2/u2f.c index bbd82b0..677e04a 100644 --- a/fido2/u2f.c +++ b/fido2/u2f.c @@ -220,7 +220,7 @@ static int16_t u2f_authenticate(struct u2f_authenticate_request * req, uint8_t c } else { - return U2F_SW_WRONG_PAYLOAD; + return U2F_SW_WRONG_DATA; } } if (