summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-07-08 21:47:06 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-10 19:47:55 +0300
commitc61704ab8760bddea2ae24495675af584395bd64 (patch)
tree28e658a621a3d9319cf8ebe5efbb991c12cb4fff
parent786d0f609314bf109ba3f1835950405d0d2e918c (diff)
downloadbmcweb-c61704ab8760bddea2ae24495675af584395bd64.tar.xz
Spelling: 's/Occured/Occurred/g'
Change-Id: Iafbd209fe2cb4503df995536587d8a80bd887a74 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--include/ssl_key_handler.hpp9
-rw-r--r--redfish-core/lib/account_service.hpp15
2 files changed, 13 insertions, 11 deletions
diff --git a/include/ssl_key_handler.hpp b/include/ssl_key_handler.hpp
index 71781956ad..deb3a76e9a 100644
--- a/include/ssl_key_handler.hpp
+++ b/include/ssl_key_handler.hpp
@@ -44,7 +44,7 @@ inline bool validateCertificate(X509* const cert)
X509_STORE* x509Store = X509_STORE_new();
if (!x509Store)
{
- BMCWEB_LOG_ERROR << "Error occured during X509_STORE_new call";
+ BMCWEB_LOG_ERROR << "Error occurred during X509_STORE_new call";
return false;
}
@@ -52,7 +52,7 @@ inline bool validateCertificate(X509* const cert)
X509_STORE_CTX* storeCtx = X509_STORE_CTX_new();
if (!storeCtx)
{
- BMCWEB_LOG_ERROR << "Error occured during X509_STORE_CTX_new call";
+ BMCWEB_LOG_ERROR << "Error occurred during X509_STORE_CTX_new call";
X509_STORE_free(x509Store);
return false;
}
@@ -60,7 +60,7 @@ inline bool validateCertificate(X509* const cert)
int errCode = X509_STORE_CTX_init(storeCtx, x509Store, cert, nullptr);
if (errCode != 1)
{
- BMCWEB_LOG_ERROR << "Error occured during X509_STORE_CTX_init call";
+ BMCWEB_LOG_ERROR << "Error occurred during X509_STORE_CTX_init call";
X509_STORE_CTX_free(storeCtx);
X509_STORE_free(x509Store);
return false;
@@ -94,7 +94,8 @@ inline bool validateCertificate(X509* const cert)
}
BMCWEB_LOG_ERROR
- << "Error occured during X509_verify_cert call. ErrorCode: " << errCode;
+ << "Error occurred during X509_verify_cert call. ErrorCode: "
+ << errCode;
X509_STORE_CTX_free(storeCtx);
X509_STORE_free(x509Store);
return false;
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 30f34fa49c..8ef14349ff 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -656,7 +656,7 @@ class AccountService : public Node
if (ec)
{
BMCWEB_LOG_DEBUG
- << "Error Occured in updating the service address";
+ << "Error Occurred in updating the service address";
messages::internalError(asyncResp->res);
return;
}
@@ -697,7 +697,7 @@ class AccountService : public Node
if (ec)
{
BMCWEB_LOG_DEBUG
- << "Error occured in updating the username";
+ << "Error occurred in updating the username";
messages::internalError(asyncResp->res);
return;
}
@@ -730,7 +730,7 @@ class AccountService : public Node
if (ec)
{
BMCWEB_LOG_DEBUG
- << "Error occured in updating the password";
+ << "Error occurred in updating the password";
messages::internalError(asyncResp->res);
return;
}
@@ -762,7 +762,8 @@ class AccountService : public Node
ldapServerElementName](const boost::system::error_code ec) {
if (ec)
{
- BMCWEB_LOG_DEBUG << "Error Occured in Updating the base DN";
+ BMCWEB_LOG_DEBUG
+ << "Error Occurred in Updating the base DN";
messages::internalError(asyncResp->res);
return;
}
@@ -805,7 +806,7 @@ class AccountService : public Node
ldapServerElementName](const boost::system::error_code ec) {
if (ec)
{
- BMCWEB_LOG_DEBUG << "Error Occured in Updating the "
+ BMCWEB_LOG_DEBUG << "Error Occurred in Updating the "
"username attribute";
messages::internalError(asyncResp->res);
return;
@@ -840,7 +841,7 @@ class AccountService : public Node
ldapServerElementName](const boost::system::error_code ec) {
if (ec)
{
- BMCWEB_LOG_DEBUG << "Error Occured in Updating the "
+ BMCWEB_LOG_DEBUG << "Error Occurred in Updating the "
"groupname attribute";
messages::internalError(asyncResp->res);
return;
@@ -876,7 +877,7 @@ class AccountService : public Node
if (ec)
{
BMCWEB_LOG_DEBUG
- << "Error Occured in Updating the service enable";
+ << "Error Occurred in Updating the service enable";
messages::internalError(asyncResp->res);
return;
}