@@ -265,7 +265,7 @@ fn truncate_to_char_boundary(s: &str, mut max: usize) -> &str {
265265
266266// For MakeCredential and GetAssertion, the specification says:
267267// If the uvRetries counter is 0, return CTAP2_ERR_PIN_BLOCKED. See:
268- // https://github.com/fido-alliance/fido-2-specs/issues/1672
268+ // https://github.com/fido-alliance/fido-2-specs/issues/1672 (private)
269269#[ cfg( feature = "fingerprint" ) ]
270270fn map_uv_block_error ( result : CtapResult < ( ) > ) -> CtapResult < ( ) > {
271271 result. map_err ( |e| match e {
@@ -856,10 +856,6 @@ impl<E: Env> CtapState<E> {
856856 if options. uv {
857857 #[ cfg( not( feature = "fingerprint" ) ) ]
858858 return Err ( Ctap2StatusCode :: CTAP2_ERR_INVALID_OPTION ) ;
859- // The specification says:
860- // If the uvRetries counter is 0, return CTAP2_ERR_PIN_BLOCKED.
861- // But I assume this is a typo and should be UV_BLOCKED instead.
862- // https://github.com/fido-alliance/fido-2-specs/issues/1672
863859 #[ cfg( feature = "fingerprint" ) ]
864860 map_uv_block_error ( perform_built_in_uv ( env, channel, true ) ) ?;
865861 #[ cfg( feature = "fingerprint" ) ]
@@ -1237,8 +1233,6 @@ impl<E: Env> CtapState<E> {
12371233 if options. uv {
12381234 #[ cfg( not( feature = "fingerprint" ) ) ]
12391235 return Err ( Ctap2StatusCode :: CTAP2_ERR_INVALID_OPTION ) ;
1240- // Same error code ambiguity as in MakeCredential.
1241- // https://github.com/fido-alliance/fido-2-specs/issues/1672
12421236 #[ cfg( feature = "fingerprint" ) ]
12431237 map_uv_block_error ( perform_built_in_uv ( env, channel, true ) ) ?;
12441238 #[ cfg( feature = "fingerprint" ) ]
0 commit comments