ci: Address Clippy 1.65 concerns.

This commit is contained in:
Brian Smith 2022-11-03 10:30:09 -07:00
parent 383317656b
commit 0a0c375b76
2 changed files with 2 additions and 1 deletions

View File

@ -250,6 +250,7 @@ pub fn verify(
derive_block(&secret, iterations, salt, idx, derived_chunk);
// XXX: This isn't fully constant-time-safe. TODO: Fix that.
#[allow(clippy::bool_to_int_with_if)]
let current_block_matches =
if constant_time::verify_slices_are_equal(derived_chunk, previously_derived_chunk)
.is_ok()

View File

@ -106,7 +106,7 @@ fn ecdsa_generate_pkcs8_test() {
println!();
#[cfg(feature = "alloc")]
let _ = signature::EcdsaKeyPair::from_pkcs8(*alg, pkcs8.as_ref(), &rng).unwrap();
let _ = signature::EcdsaKeyPair::from_pkcs8(alg, pkcs8.as_ref(), &rng).unwrap();
}
}