From 000d6606ce7897adfd74b496a96f564df9b10a41 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 19 Sep 2023 01:59:38 +0800 Subject: [PATCH] helps to actually have the line uncommented for the fix to work... --- apps/vault/src/ctap/client_pin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vault/src/ctap/client_pin.rs b/apps/vault/src/ctap/client_pin.rs index c1f836486..d35cb8abf 100644 --- a/apps/vault/src/ctap/client_pin.rs +++ b/apps/vault/src/ctap/client_pin.rs @@ -176,7 +176,7 @@ impl ClientPin { if !bool::from(pin_hash.ct_eq(&pin_hash_dec)) { // this lines ensures that the equality check above works in Rust v1.72. - // log::trace!("ct_eq: {:?}", bool::from(pin_hash.ct_eq(&pin_hash_dec))); + log::trace!("ct_eq: {:?}", bool::from(pin_hash.ct_eq(&pin_hash_dec))); self.get_mut_pin_protocol(pin_uv_auth_protocol) .regenerate(env.rng()); if storage::pin_retries(env)? == 0 {