From f6e2bfa6837ccec165c623ad50c027ffa10aca68 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Fri, 1 Feb 2019 20:06:19 +0200 Subject: [PATCH] yubikey answers U2F_SW_WRONG_PAYLOAD instead of U2F_SW_WRONG_DATA --- fido2/u2f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (