mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Fix clippy warnings
This commit is contained in:
committed by
sosthene-nitrokey
parent
ca9b10f9c9
commit
b8a496f67c
@@ -648,7 +648,7 @@ impl IoCmd {
|
||||
let mut random_challenge = vec![0; alg.challenge_len()];
|
||||
thread_rng().fill_bytes(&mut random_challenge);
|
||||
let challenge_and_random: Vec<u8> =
|
||||
[tlv(&[0x80], &challenge), tlv(&[0x81], &random_challenge)]
|
||||
[tlv(&[0x80], challenge), tlv(&[0x81], &random_challenge)]
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.collect();
|
||||
|
||||
Reference in New Issue
Block a user