summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-04-08 15:01:57 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-04-08 15:01:57 -0500
commita9cfcedc9a6efdd180a5cfa506a59906deb1372f (patch)
tree3e23f32e5dcb6b5941420b2c5230d0bb14394f3a
parent808c40d989fb27f06b9bbc4dabc32ba7d92d3fe4 (diff)
downloadopenpower-pnor-code-mgmt-a9cfcedc9a6efdd180a5cfa506a59906deb1372f.tar.gz
openpower-pnor-code-mgmt-a9cfcedc9a6efdd180a5cfa506a59906deb1372f.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. Change-Id: I1070feb715b037adbb55badc516d8a63c0b721bc Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--image_verify.cpp2
-rw-r--r--test/utest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
index e1e961d7b..388f48977 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -222,7 +222,7 @@ bool Signature::verifyFile(const fs::path& file, const fs::path& sigFile,
// Adds all digest algorithms to the internal table
OpenSSL_add_all_digests();
- // Create Hash structre.
+ // Create Hash structure.
auto hashStruct = EVP_get_digestbyname(hashFunc.c_str());
if (!hashStruct)
{
diff --git a/test/utest.cpp b/test/utest.cpp
index 21fdc2891..38f99128e 100644
--- a/test/utest.cpp
+++ b/test/utest.cpp
@@ -112,7 +112,7 @@ class SignatureTest : public testing::Test
fs::path signedConfPNORPath;
};
-/** @brief Test for sucess scenario*/
+/** @brief Test for success scenario*/
TEST_F(SignatureTest, TestSignatureVerify)
{
EXPECT_TRUE(signature->verify());
OpenPOWER on IntegriCloud