helps to actually have the line uncommented for the fix to work...

This commit is contained in:
bunnie 2023-09-19 01:59:38 +08:00
parent d94ceb8115
commit 000d6606ce

View file

@ -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 {