You've already forked ms-tpm-20-ref
mirror of
https://github.com/Dasharo/ms-tpm-20-ref.git
synced 2026-03-06 14:59:07 -08:00
Fix a -Werror=comment failure and avoid problems with git due to CRLF. Adds parentheses around macro parameters and wrap statement-like macros in a do-while loop to avoid dangling else problems. Fix the REQUIRE macro so that expands to code that successfully compiles. Remove the VERIFY macro from TpmASN1.h, as VERIFY is already defined by GpMacros.h Finally, fix two typos in comments and reformat all code with clang-format, then work around two bugs in clang-format.