summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-03-23 12:04:48 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-03-23 12:05:56 -0500
commite11a202810a2cf0d02d018efa25ef7994b17b6d8 (patch)
tree3a180149a0ac821709b1dd4979a129b430f7f2fc
parent0e0c1276a776a8d36d6ce2945bf1e583aae45136 (diff)
downloadphosphor-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>
-rw-r--r--activation.cpp2
-rw-r--r--activation.hpp2
-rw-r--r--image_verify.cpp10
-rw-r--r--image_verify.hpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/activation.cpp b/activation.cpp
index 8d4b202..34ff2b2 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -250,7 +250,7 @@ void Activation::unitStateChange(sdbusplus::message::message& msg)
softwareServer::Activation::Activations::Failed);
}
else if ((rwVolumeCreated && roVolumeCreated) || // Volumes were created
- (ubootEnvVarsUpdated)) // Enviroment variables were updated
+ (ubootEnvVarsUpdated)) // Environment variables were updated
{
Activation::activation(
softwareServer::Activation::Activations::Activating);
diff --git a/activation.hpp b/activation.hpp
index 6289278..51756f2 100644
--- a/activation.hpp
+++ b/activation.hpp
@@ -75,7 +75,7 @@ class RedundancyPriority : public RedundancyPriorityInherit
bus.emit_interfaces_removed(path.c_str(), interfaces);
}
- /** @brief Overriden Priority property set function, calls freePriority
+ /** @brief Overridden Priority property set function, calls freePriority
* to bump the duplicated priority values.
*
* @param[in] value - uint8_t
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>();
}
diff --git a/image_verify.hpp b/image_verify.hpp
index 5b590f4..f2387c7 100644
--- a/image_verify.hpp
+++ b/image_verify.hpp
@@ -148,7 +148,7 @@ class Signature
private:
/**
* @brief Function used for system level file signature validation
- * of image specfic publickey file and manifest file
+ * 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.
OpenPOWER on IntegriCloud