From ea1df60e74ca9a148e32aa0292dc4f259f854548 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Wed, 17 May 2023 23:04:24 -0400 Subject: [PATCH] ctap2-proto: Make make::Request::pin_uv_auth_param optional the `pin_uv_auth_param` field is an optional field in the CTAP spec. --- crates/ctap2-proto/src/authenticator/credential/make.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ctap2-proto/src/authenticator/credential/make.rs b/crates/ctap2-proto/src/authenticator/credential/make.rs index dd7c4e2..55ac9c2 100644 --- a/crates/ctap2-proto/src/authenticator/credential/make.rs +++ b/crates/ctap2-proto/src/authenticator/credential/make.rs @@ -76,7 +76,7 @@ pub struct Request<'a> { /// > [WebAuthn]. These parameters might be authenticator specific. pub extensions: Option<&'a BTreeMap>>, pub options: Option<&'a BTreeMap>, - pub pin_uv_auth_param: &'a [u8], + pub pin_uv_auth_param: Option<&'a [u8]>, /// > PIN/UV protocol version selected by platform. pub pin_uv_auth_protocol_version: Option, /// > An authenticator supporting this enterprise attestation feature is