diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-13 01:05:59 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-13 01:05:59 +0000 |
commit | 96488aa25a3876bb888b08fc34c8bfafc29016af (patch) | |
tree | f2bc00b6bf31f98d16586e9aecda945f13e7c81b /CryptoPkg/Application | |
parent | f3b80a8eaba197ba34e9fea934dfbc59ce89d837 (diff) | |
download | edk2-96488aa25a3876bb888b08fc34c8bfafc29016af.tar.gz edk2-96488aa25a3876bb888b08fc34c8bfafc29016af.tar.bz2 edk2-96488aa25a3876bb888b08fc34c8bfafc29016af.zip |
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
Diffstat (limited to 'CryptoPkg/Application')
-rw-r--r-- | CryptoPkg/Application/Cryptest/RsaVerify2.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 {
|