diff options
Diffstat (limited to 'CryptoPkg/Application/Cryptest/RsaVerify2.c')
-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 {
|