diff options
author | harshit <harshitsharmajs@gmail.com> | 2020-05-12 12:55:39 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-19 07:57:23 +0000 |
commit | aae16330695ab1a3a3ed1a9068dc25bba00997fe (patch) | |
tree | 5f9cacf7962470e8a60a668ebc163dd5ec69e4fa /payloads | |
parent | fb6606b8dbf9711c86872e75ce472a98ffe1ba2d (diff) |
security/tpm/tspi: Fix handling of white space delimited list
The current implementation uses strcmp() without splitting the list
and therefore returns false even when the string pointed to by
'name' is a part of 'whitelist'. The patch fixes this problem.
Also, update help text of CONFIG_TPM_MEASURED_BOOT_RUNTIME_DATA to
space delimited list to align it with the other lists we use.
Change-Id: Ifd285162ea6e562a5bb18325a1b767ac2e4276f3
Signed-off-by: Harshit Sharma <harshitsharmajs@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41280
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'payloads')
0 files changed, 0 insertions, 0 deletions