From 490d38ffc05ac832fed81b08ca314a7c8538eb39 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Mon, 30 Jan 2017 12:15:16 -0800 Subject: [PATCH] Fix missing VERITY_HASH_OFFSET on amd64 --- include/grub/verity-hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grub/verity-hash.h b/include/grub/verity-hash.h index f79bb5d4c..448d9aff0 100644 --- a/include/grub/verity-hash.h +++ b/include/grub/verity-hash.h @@ -7,7 +7,7 @@ #if defined(__aarch64__) # define VERITY_HASH_OFFSET 512 -#elif defined(__i386__) +#elif defined(__i386__) || defined(__amd64__) # define VERITY_HASH_OFFSET 0x40 #else # error Unsupported arch