Skip to content

Commit 72790dd

Browse files
committed
sss
1 parent e25ce3f commit 72790dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/uucore/src/lib/features/checksum/validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ fn process_algo_based_line(
741741
// If the digest bitlen is known, we can check the format of the expected
742742
// checksum with it.
743743
let digest_char_length_hint = match (algo_kind, algo_byte_len) {
744-
(AlgoKind::Blake2b, Some(byte_len)) => Some(byte_len),
744+
(AlgoKind::Blake2b | AlgoKind::Blake3, Some(byte_len)) => Some(byte_len),
745745
(AlgoKind::Shake128 | AlgoKind::Shake256, Some(bit_len)) => Some(bit_len.div_ceil(8)),
746746
(AlgoKind::Shake128, None) => Some(sum::Shake128::DEFAULT_BIT_SIZE.div_ceil(8)),
747747
(AlgoKind::Shake256, None) => Some(sum::Shake256::DEFAULT_BIT_SIZE.div_ceil(8)),

0 commit comments

Comments
 (0)