diff options
author | Kees Cook <keescook@chromium.org> | 2013-01-16 15:25:31 -0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-01-16 17:36:57 -0800 |
commit | 25d1c25efb6b3ad5b34905d4f8452b4a58613af1 (patch) | |
tree | 17c33895cd3bc9c5723ce32db22b48596d6b9bd7 /firmware/lib | |
parent | 844bce57471153664c78993dab453e87891bb969 (diff) | |
download | vboot-25d1c25efb6b3ad5b34905d4f8452b4a58613af1.tar.gz |
fix s_tpm_pcr_read_cmd structure name typo
Che-Liang Chiou noticed this structure was misnamed. Luckily, they have
the same offsets to the useful fields.
BUG=None
TEST=link build, manual verification
BRANCH=None
Change-Id: I40abd21f053f19758e47c7775333208ad1c3c33d
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/41482
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Diffstat (limited to 'firmware/lib')
-rw-r--r-- | firmware/lib/tpm_lite/tlcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/tpm_lite/tlcl.c b/firmware/lib/tpm_lite/tlcl.c index 332fd019..ce5614e1 100644 --- a/firmware/lib/tpm_lite/tlcl.c +++ b/firmware/lib/tpm_lite/tlcl.c @@ -224,7 +224,7 @@ uint32_t TlclRead(uint32_t index, void* data, uint32_t length) { } uint32_t TlclPCRRead(uint32_t index, void* data, uint32_t length) { - struct s_tpm_nv_read_cmd cmd; + struct s_tpm_pcr_read_cmd cmd; uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; uint32_t result; |