]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Application/Cryptest/RsaVerify2.c
Refine code to make code follow the coding style.
[mirror_edk2.git] / CryptoPkg / Application / Cryptest / RsaVerify2.c
index adac99a9d7182c4d92fb41c667281b2b2d114ec1..b6fdfb5c38e1e052ce14eaf063c4004667be1fac 100644 (file)
@@ -214,7 +214,7 @@ ValidateCryptRsa2 (
   //\r
   Print (L"\n- Retrieve RSA Private Key for PEM ...");\r
   Status = RsaGetPrivateKeyFromPem (TestKeyPem, sizeof (TestKeyPem), PemPass, &RsaPrivKey);\r
-  if (Status == FALSE) {\r
+  if (!Status) {\r
     Print (L"[Fail]");\r
     return EFI_ABORTED;\r
   } else {\r
@@ -227,7 +227,7 @@ ValidateCryptRsa2 (
   Print (L"\n- Retrieve RSA Public Key from X509 ... ");\r
   RsaPubKey = NULL;\r
   Status    = RsaGetPublicKeyFromX509 (TestCert, sizeof (TestCert), &RsaPubKey);\r
-  if (Status == FALSE) {\r
+  if (!Status) {\r
     Print (L"[Fail]");\r
     return EFI_ABORTED;\r
   } else {\r