summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-04-08 16:28:23 -0500
committerVernon Mauery <vernon.mauery@linux.intel.com>2018-04-11 22:29:58 +0000
commit62ec622e0b71fb396ef681ad4cadc4a567ce5d85 (patch)
tree960eb337e3f8f442a8135f81041a5f8b6fff43ec
parent80938497ab88b0e1201857f85dfe0ad82fa212ea (diff)
downloadphosphor-net-ipmid-62ec622e0b71fb396ef681ad4cadc4a567ce5d85.tar.gz
phosphor-net-ipmid-62ec622e0b71fb396ef681ad4cadc4a567ce5d85.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: I30765c0f799dabdb44b705a9720014db9a1b21df Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--crypt_algo.cpp2
-rw-r--r--sessions_manager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypt_algo.cpp b/crypt_algo.cpp
index a10fd56..21a2ff6 100644
--- a/crypt_algo.cpp
+++ b/crypt_algo.cpp
@@ -28,7 +28,7 @@ std::vector<uint8_t> AlgoAES128::decryptPayload(
/*
* The confidentiality pad length is the last byte in the payload, it would
* tell the number of pad bytes in the payload. We added a condition, so
- * that buffer overrun does't happen.
+ * that buffer overrun doesn't happen.
*/
size_t confPadLength = plainPayload.back();
auto padLength = std::min(plainPayload.size() -1, confPadLength);
diff --git a/sessions_manager.cpp b/sessions_manager.cpp
index 0f49a2d..8d7b121 100644
--- a/sessions_manager.cpp
+++ b/sessions_manager.cpp
@@ -47,7 +47,7 @@ std::weak_ptr<Session> Manager::startSession(SessionID remoteConsoleSessID,
* is the key for the session map and is generated using std::rand.
* There is a rare chance for collision of BMC session ID, so the
* following check validates that. In the case of collision the
- * created session is reseted and a new session is created for
+ * created session is reset and a new session is created for
* validating collision.
*/
auto iterator = sessionsMap.find(session->getBMCSessionID());
OpenPOWER on IntegriCloud