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>
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 @@
// 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 @@
* 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 @@
fs::path signedConfOpenBMCPath;
};
-/** @brief Test for sucess scenario*/
+/** @brief Test for success scenario*/
TEST_F(SignatureTest, TestSignatureVerify)
{
EXPECT_TRUE(signature->verify());