From 02f45f51a7e80bf7e62c3fa0926c3e30ccd7124d Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Mon, 16 Mar 2020 16:20:02 +0800 Subject: vboot: stop using StrnAppend and Uint64ToString Use snprintf instead. Remove utility_string library. Also, prepare VbDisplayDebugInfo to handle 64-byte nvdata. BUG=b:124141368, chromium:968464 TEST=make clean && make runtests TEST=boot with 16-byte nvdata, check output (one line) TEST=boot with 64-byte nvdata, check output (five lines) BRANCH=none Change-Id: If6c4b3a4e9fa7b71cb2d8ca7ccd37e4f36b97fd6 Signed-off-by: Joel Kitching Cq-Depend: chromium:2122061 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2104880 Tested-by: Joel Kitching Commit-Queue: Joel Kitching Reviewed-by: Julius Werner --- firmware/lib/tpm2_lite/tlcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/lib/tpm2_lite/tlcl.c') diff --git a/firmware/lib/tpm2_lite/tlcl.c b/firmware/lib/tpm2_lite/tlcl.c index dca8facc..9bacbb6b 100644 --- a/firmware/lib/tpm2_lite/tlcl.c +++ b/firmware/lib/tpm2_lite/tlcl.c @@ -10,7 +10,7 @@ #include "2sysincludes.h" #include "tlcl.h" #include "tpm2_marshaling.h" -#include "utility.h" +#include "vboot_api.h" /* * TODO(chromium:1032930): Originally accessed by including secdata_tpm.h. -- cgit v1.2.1