mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-05 17:46:44 +00:00
rev164: Resolve long chain of logical ands (trivial)
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
ade739ce51
commit
ec45043361
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user