rev164: Resolve long chain of logical ands (trivial)

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2021-02-22 16:17:23 -05:00 committed by Stefan Berger
parent ade739ce51
commit ec45043361

View File

@ -404,12 +404,14 @@ CryptStartup(
{
BOOL OK;
NOT_REFERENCED(type);
OK = CryptSymStartup() && CryptRandStartup() && CryptHashStartup()
OK = CryptSymStartup();
OK = OK && CryptRandStartup();
OK = OK && CryptHashStartup();
#if ALG_RSA
&& CryptRsaStartup()
OK = OK && CryptRsaStartup();
#endif // TPM_ALG_RSA
#if ALG_ECC
&& CryptEccStartup()
OK = OK && CryptEccStartup();
#endif // TPM_ALG_ECC
;
#if ALG_ECC