summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-03-23 12:12:20 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-03-23 12:12:40 -0500
commit4c7d206085e053a402d83380fafc768b516aab08 (patch)
treed1639aca0f4095b67eecfce97cae6946b8e71f5e
parent4016e52644159d93e3a6a98e059af48a1fe4be04 (diff)
downloadopenpower-pnor-code-mgmt-4c7d206085e053a402d83380fafc768b516aab08.tar.gz
openpower-pnor-code-mgmt-4c7d206085e053a402d83380fafc768b516aab08.zip
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>
-rw-r--r--image_verify.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
index 4df7a5e5c..f569fa712 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -95,7 +95,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 PNOR image file.
@@ -117,7 +117,7 @@ bool Signature::verify()
return false;
}
- log<level::DEBUG>("Sucessfully completed Signature vaildation.");
+ log<level::DEBUG>("Successfully completed Signature vaildation.");
return true;
}
@@ -236,7 +236,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>();
}
@@ -248,7 +248,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>();
}
@@ -264,7 +264,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