diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-03-23 12:04:48 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-03-23 12:05:56 -0500 |
commit | e11a202810a2cf0d02d018efa25ef7994b17b6d8 (patch) | |
tree | 3a180149a0ac821709b1dd4979a129b430f7f2fc /image_verify.cpp | |
parent | 0e0c1276a776a8d36d6ce2945bf1e583aae45136 (diff) | |
download | phosphor-bmc-code-mgmt-e11a202810a2cf0d02d018efa25ef7994b17b6d8.tar.gz phosphor-bmc-code-mgmt-e11a202810a2cf0d02d018efa25ef7994b17b6d8.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: I4fb378699d436e0c41adf80978f7cdaec12c6404
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'image_verify.cpp')
-rw-r--r-- | image_verify.cpp | 10 |
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>(); } |