From 413a742ad91a454ef2bf2d7f2e3ed149d3897ea3 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 16 Dec 2019 10:13:34 -0800 Subject: [PATCH] vboot: Fix MOCK_SECDATA for new naming scheme CB:37655 updated all secdata_xxx to secdata_firmware_xxx, but forgot the code that's only compiled when MOCK_SECDATA is set. This patch fixes it. Change-Id: Icf12fe405d7ce46345ccbdcb76f6aa1b56ed0194 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/c/coreboot/+/37772 Reviewed-by: Furquan Shaikh Reviewed-by: Joel Kitching Tested-by: build bot (Jenkins) --- src/security/vboot/secdata_mock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/vboot/secdata_mock.c b/src/security/vboot/secdata_mock.c index de58bf5909..a6c4afb170 100644 --- a/src/security/vboot/secdata_mock.c +++ b/src/security/vboot/secdata_mock.c @@ -45,7 +45,7 @@ vb2_error_t vb2ex_tpm_clear_owner(struct vb2_context *ctx) vb2_error_t antirollback_read_space_firmware(struct vb2_context *ctx) { - vb2api_secdata_create(ctx); + vb2api_secdata_firmware_create(ctx); return VB2_SUCCESS; }