commit | 51c50669f9b024f9317b00cbb7b561b806bf05cb | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 18 14:18:00 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Aug 01 09:05:24 2021 -0600 |
tree | a4db65d44b2e525424052e0fdf164c3c86d27938 | |
parent | f7004961dc04dee015e6e10242dbbfbb79c3733a [diff] |
sandbox: tpm: Correct handling of get-capability This function current handles the kernel case incorrectly. Fix it, and use the shorter TPM_HDR_LEN while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>