commit | 80bfe483956c97448912f761b8cdd162bd1d6af3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Tue Jul 25 09:50:26 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:05:43 2023 -0400 |
tree | 38e95bebdc8ab92e59b3b75d2ff5e9d5f7eb8aee | |
parent | a065952f69034b22dc5e1f8c720b110dd485debc [diff] |
cmd: Fix a size parameter in test_readonly() The parentheses are in the wrong place so this passes the number of bytes to write as "sizeof(index_0) != TPM_SUCCESS" when just "sizeof(index_0)" was intended. (1 byte vs 4 bytes). Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>