commit | 7f350a959c1a9562b1b84d145e1084e90fa86353 | [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 | f9143c12003aabbad3a2485f8ad305f5dff5fae9 [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>