catch U2F check by extension
This commit is contained in:
parent
f48becc6dc
commit
0651316da5
@ -44,7 +44,7 @@ void u2f_request(struct u2f_request_apdu* req, CTAP_RESPONSE * resp)
|
|||||||
#ifdef ENABLE_U2F_EXTENSIONS
|
#ifdef ENABLE_U2F_EXTENSIONS
|
||||||
rcode = extend_u2f(req, len);
|
rcode = extend_u2f(req, len);
|
||||||
#endif
|
#endif
|
||||||
if (rcode != U2F_SW_NO_ERROR) // If the extension didn't do anything...
|
if (rcode != U2F_SW_NO_ERROR && rcode != U2F_SW_CONDITIONS_NOT_SATISFIED) // If the extension didn't do anything...
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_U2F
|
#ifdef ENABLE_U2F
|
||||||
switch(req->ins)
|
switch(req->ins)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user