diff --git a/fido2/u2f.c b/fido2/u2f.c index 1eb7e60..ac84205 100644 --- a/fido2/u2f.c +++ b/fido2/u2f.c @@ -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 (