summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-09-03 22:38:40 +0200
committerPeter Jones <pjones@redhat.com>2021-09-10 16:09:26 -0400
commit26998367eb6153cd24b6e82949d5f7874a036372 (patch)
tree4bf0bb53906e5cc38c7befe5e323370c9593cf19 /lib/variables.c
parentc1a84dc0a695782e55a97173e4f9f8a98432f9e1 (diff)
downloadefi-boot-shim-26998367eb6153cd24b6e82949d5f7874a036372.tar.gz
efi-boot-shim-26998367eb6153cd24b6e82949d5f7874a036372.zip
pe: simplify generate_hash()
Copying the value of datasize_in to two further variables and then using all three randomly in the code makes it hard to read. datasize_in is never changed in generate_hash() so we can do with this parameter alone. Rename it to datasize. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions