Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tss2-tcti: tcti-libtpms: fix test failure on big-endian platform
Due to tcti_libtpms->response_len and tcti_libtpms->response_buffer_len are size_t. We cannot convert the (size_t *) to (uint32_t *) on big-endian platforms. Thus we create temp uint32_t variables. Make the call and then assign it back to size_t variables. This commit partially fix the test failure on big-endian platforms. Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
- Loading branch information