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>
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 @@
/*
* 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 @@
* 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());