ci: Address Clippy 1.65 concerns.
This commit is contained in:
parent
383317656b
commit
0a0c375b76
@ -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()
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user