diff --git a/src/lib/ctap_app.rs b/src/lib/ctap_app.rs index d725689..66ef9bb 100644 --- a/src/lib/ctap_app.rs +++ b/src/lib/ctap_app.rs @@ -320,7 +320,7 @@ where let instruction: u8 = apdu.instruction().into(); match instruction { - 0x00 | 0x01 | 0x02 => handle_ctap1(self, apdu.data(), response), //self.call_authenticator_u2f(apdu, response), + 0..=2 => handle_ctap1(self, apdu.data(), response), //self.call_authenticator_u2f(apdu, response), _ => { match ctaphid::Command::try_from(instruction) {