summaryrefslogtreecommitdiffstats
path: root/image_verify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'image_verify.cpp')
-rw-r--r--image_verify.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
index 99c7d2b..c8d3311 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -93,7 +93,7 @@ bool Signature::verify()
return false;
}
- // image specfic publickey file name.
+ // image specific publickey file name.
fs::path publicKeyFile(imageDirPath / PUBLICKEY_FILE_NAME);
// Validate the BMC image files.
@@ -117,7 +117,7 @@ bool Signature::verify()
}
}
- log<level::DEBUG>("Sucessfully completed Signature vaildation.");
+ log<level::DEBUG>("Successfully completed Signature vaildation.");
return true;
}
@@ -235,7 +235,7 @@ bool Signature::verifyFile(const fs::path& file, const fs::path& sigFile,
if (result <= 0)
{
- log<level::ERR>("Error occured during EVP_DigestVerifyInit",
+ log<level::ERR>("Error occurred during EVP_DigestVerifyInit",
entry("ERRCODE=%lu", ERR_get_error()));
elog<InternalFailure>();
}
@@ -247,7 +247,7 @@ bool Signature::verifyFile(const fs::path& file, const fs::path& sigFile,
result = EVP_DigestVerifyUpdate(rsaVerifyCtx.get(), dataPtr(), size);
if (result <= 0)
{
- log<level::ERR>("Error occured during EVP_DigestVerifyUpdate",
+ log<level::ERR>("Error occurred during EVP_DigestVerifyUpdate",
entry("ERRCODE=%lu", ERR_get_error()));
elog<InternalFailure>();
}
@@ -263,7 +263,7 @@ bool Signature::verifyFile(const fs::path& file, const fs::path& sigFile,
// Check the verification result.
if (result < 0)
{
- log<level::ERR>("Error occured during EVP_DigestVerifyFinal",
+ log<level::ERR>("Error occurred during EVP_DigestVerifyFinal",
entry("ERRCODE=%lu", ERR_get_error()));
elog<InternalFailure>();
}
OpenPOWER on IntegriCloud