Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Tested: Built the repo
Change-Id: Ic12ec06687fee33f6cf49ea9e44d3d06b782f1b6
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/image_verify.cpp b/image_verify.cpp
index 4df7a5e..f569fa7 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -95,7 +95,7 @@
return false;
}
- // image specfic publickey file name.
+ // image specific publickey file name.
fs::path publicKeyFile(imageDirPath / PUBLICKEY_FILE_NAME);
// Validate the PNOR image file.
@@ -117,7 +117,7 @@
return false;
}
- log<level::DEBUG>("Sucessfully completed Signature vaildation.");
+ log<level::DEBUG>("Successfully completed Signature vaildation.");
return true;
}
@@ -236,7 +236,7 @@
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>();
}
@@ -248,7 +248,7 @@
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>();
}
@@ -264,7 +264,7 @@
// 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>();
}