diff --git a/Cargo.toml b/Cargo.toml index 1bfca3c..83fec07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ctap_hmac" description = "A Rust implementation of the FIDO2 CTAP protocol, including the HMAC extension" -version = "0.2.1" +version = "0.2.2" license = "Apache-2.0/MIT" homepage = "https://github.com/ArdaXi/ctap/pull/2" repository = "https://github.com/shimunn/ctap" diff --git a/src/cbor.rs b/src/cbor.rs index 368a5ae..5777068 100644 --- a/src/cbor.rs +++ b/src/cbor.rs @@ -423,7 +423,9 @@ impl OptionsInfo { "clientPin" => options.client_pin = Some(decoder.bool()?), "up" => options.up = decoder.bool()?, "uv" => options.uv = Some(decoder.bool()?), - _ => continue, + _ => { + decoder.bool()?; + } } } Ok(options)