commit | 1d3ac310707d4c587b275b2683c26eb5cde32123 | [log] [tgz] |
---|---|---|
author | nagendra modadugu <ngm@google.com> | Tue Dec 13 01:31:58 2016 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Dec 15 22:49:15 2016 |
tree | 4625d650ac77e15e668bf5f424c183d9b790eeb1 | |
parent | abb7a18cbd57bb1bbaf56b91d5cbf8cb26fb69a9 [diff] |
Add a build-time assert for sizeof(OBJECT) Add a build assert that checks the sizeof the tpm2 OBJECT struct. This check indicates that NV_FORMAT_VERSION needs to be bumped, due to a change to tpm2 data structures. BRANCH=none BUG=none TEST=build succeeds Change-Id: Id6cddd7bec10ebf0aa78e2199826fb6e1ff4fd8c Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/419120 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>