TcgTpmPkg: fix build failure of TpmLib with CLANGDWARF
When TpmLib is built with llvm, below error is splat:
edk2/TcgTpmPkg/Library/TpmLib/TPM/TPMCmd/tpm/src/crypt/CryptRand.c:388:12: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
388 | if(DRBG_ENCRYPT_SETUP((BYTE*)key, DRBG_KEY_SIZE_BITS, &localKeySchedule) != 0)
To build TCG TPM v2.0 reference library properly, ignore above warning.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
1 file changed