diff options
author | Julius Werner <jwerner@chromium.org> | 2019-12-16 10:13:34 -0800 |
---|---|---|
committer | Joel Kitching <kitching@google.com> | 2019-12-18 06:31:30 +0000 |
commit | 413a742ad91a454ef2bf2d7f2e3ed149d3897ea3 (patch) | |
tree | 4f1d8ddf5a5a56fcc8fdbb864ac5648a7aab103f /src/security/vboot | |
parent | 297b6b862a724de70abf33f681f63b6a3d84c24b (diff) | |
download | coreboot-413a742ad91a454ef2bf2d7f2e3ed149d3897ea3.tar.xz |
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 <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37772
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Joel Kitching <kitching@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/vboot')
-rw-r--r-- | src/security/vboot/secdata_mock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |