Home GnuPG
Diffusion GnuPG e0543f97be00

tpm2d: Use BYTE type to acces TPM2B object.

Description

tpm2d: Use BYTE type to acces TPM2B object.

* tpm2d/tpm2.c (tpm2_SensitiveToDuplicate): Don't use the cast
of (TPM2B *).

While it works (since the actual access is done by the macros),
compiler may complain the alignment property of type BYTE * and TPM2B
object is different.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 15 2024, 8:27 AM
Parents
rG0cb7f6fbb7ca: common: Remove unused function.
Branches
Unknown
Tags
Unknown