Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I49a1a13821bbc966768d4db048886e78e8e77d9f
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/certificate.cpp b/certificate.cpp
index e3fe609..047482d 100644
--- a/certificate.cpp
+++ b/certificate.cpp
@@ -116,7 +116,7 @@
const std::string& certFilePath)
{
// Copy the certificate to the installation path
- // During bootup will be parsing existing file so no need to
+ // During boot up will be parsing existing file so no need to
// copy it.
if (certSrcFilePath != certFilePath)
{
@@ -497,7 +497,7 @@
static const int maxKeySize = 4096;
char subBuffer[maxKeySize] = {0};
BIOMemPtr subBio(BIO_new(BIO_s_mem()), BIO_free);
- // This pointer cannot be freed independantly.
+ // This pointer cannot be freed independently.
X509_NAME* sub = X509_get_subject_name(&cert);
X509_NAME_print_ex(subBio.get(), sub, 0, XN_FLAG_SEP_COMMA_PLUS);
BIO_read(subBio.get(), subBuffer, maxKeySize);
@@ -505,7 +505,7 @@
char issuerBuffer[maxKeySize] = {0};
BIOMemPtr issuerBio(BIO_new(BIO_s_mem()), BIO_free);
- // This pointer cannot be freed independantly.
+ // This pointer cannot be freed independently.
X509_NAME* issuerName = X509_get_issuer_name(&cert);
X509_NAME_print_ex(issuerBio.get(), issuerName, 0, XN_FLAG_SEP_COMMA_PLUS);
BIO_read(issuerBio.get(), issuerBuffer, maxKeySize);
diff --git a/x509_utils.cpp b/x509_utils.cpp
index bc3ccbb..39e68a6 100644
--- a/x509_utils.cpp
+++ b/x509_utils.cpp
@@ -199,7 +199,7 @@
lg2::error("Expired certificate ");
elog<InvalidCertificate>(Reason("Expired Certificate"));
}
- // Loging general error here.
+ // Logging general error here.
lg2::error(
"Certificate validation failed, ERRCODE:{ERRCODE}, ERROR_STR:{ERROR_STR}",
"ERRCODE", errCode, "ERROR_STR",