summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-04-08 15:02:04 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-04-09 20:52:29 +0000
commit2bcba02aa2bb3b949640ffe9868c0edbf585038f (patch)
treed43a463923235d7cc5fd4738dca339ea1f92a27f
parent2618667b3d4aec0da4c17a67f744544c832219eb (diff)
downloadphosphor-bmc-code-mgmt-2bcba02aa2bb3b949640ffe9868c0edbf585038f.tar.gz
phosphor-bmc-code-mgmt-2bcba02aa2bb3b949640ffe9868c0edbf585038f.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: I2ca3fd16d7cc84fdce63089b47fefb8f128894fd Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--image_verify.cpp2
-rw-r--r--image_verify.hpp2
-rw-r--r--test/utest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
index c8d3311..7d59910 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -221,7 +221,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/image_verify.hpp b/image_verify.hpp
index f2387c7..c40713c 100644
--- a/image_verify.hpp
+++ b/image_verify.hpp
@@ -151,7 +151,7 @@ class Signature
* of image specific publickey file and manifest file
* using the available public keys and hash functions
* in the system.
- * Refer code-update documenation for more details.
+ * Refer code-update documentation for more details.
*/
bool systemLevelVerify();
diff --git a/test/utest.cpp b/test/utest.cpp
index 1c0c803..73d3a0f 100644
--- a/test/utest.cpp
+++ b/test/utest.cpp
@@ -173,7 +173,7 @@ class SignatureTest : public testing::Test
fs::path signedConfOpenBMCPath;
};
-/** @brief Test for sucess scenario*/
+/** @brief Test for success scenario*/
TEST_F(SignatureTest, TestSignatureVerify)
{
EXPECT_TRUE(signature->verify());
OpenPOWER on IntegriCloud