From 96488aa25a3876bb888b08fc34c8bfafc29016af Mon Sep 17 00:00:00 2001 From: ydong10 Date: Thu, 13 Jan 2011 01:05:59 +0000 Subject: Refine code to make code follow the coding style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11247 6f19259b-4bc3-4df7-8a09-765794883524 --- CryptoPkg/Application/Cryptest/RsaVerify2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CryptoPkg/Application/Cryptest') diff --git a/CryptoPkg/Application/Cryptest/RsaVerify2.c b/CryptoPkg/Application/Cryptest/RsaVerify2.c index adac99a9d7..b6fdfb5c38 100644 --- a/CryptoPkg/Application/Cryptest/RsaVerify2.c +++ b/CryptoPkg/Application/Cryptest/RsaVerify2.c @@ -214,7 +214,7 @@ ValidateCryptRsa2 ( // Print (L"\n- Retrieve RSA Private Key for PEM ..."); Status = RsaGetPrivateKeyFromPem (TestKeyPem, sizeof (TestKeyPem), PemPass, &RsaPrivKey); - if (Status == FALSE) { + if (!Status) { Print (L"[Fail]"); return EFI_ABORTED; } else { @@ -227,7 +227,7 @@ ValidateCryptRsa2 ( Print (L"\n- Retrieve RSA Public Key from X509 ... "); RsaPubKey = NULL; Status = RsaGetPublicKeyFromX509 (TestCert, sizeof (TestCert), &RsaPubKey); - if (Status == FALSE) { + if (!Status) { Print (L"[Fail]"); return EFI_ABORTED; } else { -- cgit v1.2.3