efi_loader: simplify tcg2_measure_secure_boot_variable()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 9 Sep 2021 06:50:01 +0000 (08:50 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 19:13:07 +0000 (21:13 +0200)
commita45dac1785564e1cbb876c44f3b56b05c974584e
treea517dbd4cc41c99168b1f98062af67a00f36acbf
parent02fef8b10100483228a1c237d86dbda67adf5bb2
efi_loader: simplify tcg2_measure_secure_boot_variable()

Don't duplicate GUIDs.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_tcg2.c