Skip to content

Commit 426ffcd

Browse files
committed
fix(fde): fix panic due to wrong default hash algo
Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
1 parent 9dcdf3a commit 426ffcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ pub enum FdeSubcommand {
133133
ShowReferenceValue {
134134
/// Specify one or more hash algorithms to use.
135135
/// Multiple algorithms can be provided (e.g., --hash-algo sha384 --hash-algo sm3).
136-
#[clap(long = "hash-algo", default_value = "sha384,sm3")]
136+
#[clap(long = "hash-algo", default_value = "sha384")]
137137
hash_algos: Vec<ShowReferenceValueHashAlgo>,
138138
/// Optional stage filter (e.g., initrd, system). If not provided, all stages are included.
139139
///

0 commit comments

Comments
 (0)