PeterHuewe / tpm-emulator

The famous tpm-emulator by Mario Strasser, previously hosted on BerliOs. It supports TPM1.2 only!
GNU General Public License v2.0
177 stars 75 forks source link

Fix TPM_ChangeAuthAsymFinish #30

Closed marmarek closed 6 years ago

marmarek commented 6 years ago

Compare TPM_HMAC structures, not structure and an address of it.

Found thanks to gcc-8 + -Werror.

PeterHuewe commented 6 years ago

Yup seems correct - sorry for the lack of reply. Merged - thanks for fixing this. (also not sure how this ever worked - good that I didn't write it :)