File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use fn_error_context::context;
1717use indoc:: indoc;
1818use ostree:: gio;
1919use ostree_container:: store:: PrepareResult ;
20- use ostree_ext:: composefs:: fsverity;
20+ use ostree_ext:: composefs:: fsverity:: { self , FsVerityHashValue } ;
2121use ostree_ext:: container as ostree_container;
2222use ostree_ext:: container_utils:: ostree_booted;
2323use ostree_ext:: keyfileext:: KeyFileExt ;
@@ -1199,7 +1199,7 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
11991199 let fd =
12001200 std:: fs:: File :: open ( & path) . with_context ( || format ! ( "Reading {path}" ) ) ?;
12011201 let digest: fsverity:: Sha256HashValue = fsverity:: measure_verity ( & fd) ?;
1202- let digest = hex :: encode ( digest) ;
1202+ let digest = digest. to_hex ( ) ;
12031203 println ! ( "{digest}" ) ;
12041204 Ok ( ( ) )
12051205 }
You can’t perform that action at this time.
0 commit comments