summaryrefslogtreecommitdiff
path: root/src/security/vboot/antirollback.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-04-25 17:45:12 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-05-09 06:32:44 +0000
commit2eb89c8b1479876d37eef37eb4485e23956116e3 (patch)
treeda156a5343353571614bdc64c3ec94f73ea6a591 /src/security/vboot/antirollback.h
parent5923d67cfd07a950ffd435aa078167144366f7dc (diff)
vboot: include vb2_sha.h when required
Should include vb2_sha.h header when SHA library functions or constants are required. This replaces NEED_VB2_SHA_LIBRARY. BUG=b:124141368, chromium:956474 TEST=make clean && make test-abuild BRANCH=none Change-Id: I9f32174dbf3de05fbe5279cb8017888757abf368 Signed-off-by: Joel Kitching <kitching@google.com> Cq-Depend: chromium:1583820 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32454 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/security/vboot/antirollback.h')
-rw-r--r--src/security/vboot/antirollback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/vboot/antirollback.h b/src/security/vboot/antirollback.h
index 6ea2c13a97..62d2e20f03 100644
--- a/src/security/vboot/antirollback.h
+++ b/src/security/vboot/antirollback.h
@@ -37,6 +37,7 @@
#include <types.h>
#include <security/tpm/tspi.h>
+#include <vb2_sha.h>
struct vb2_context;
enum vb2_pcr_digest;