Skip to content

Commit

Permalink
writer: Use blocksize constant
Browse files Browse the repository at this point in the history
Drive by cleanup.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Oct 28, 2024
1 parent 8cedf32 commit 3be9fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcomposefs/lcfs-writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ int lcfs_fd_enable_fsverity(int fd)

arg.version = 1;
arg.hash_algorithm = FS_VERITY_HASH_ALG_SHA256;
arg.block_size = 4096;
arg.block_size = FSVERITY_BLOCK_SIZE;
arg.salt_size = 0;
arg.salt_ptr = 0;
arg.sig_size = 0;
Expand Down

0 comments on commit 3be9fe8

Please sign in to comment.