clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/user_channel/cipher_mgmt.cpp b/user_channel/cipher_mgmt.cpp
index 5f50c86..a2f024b 100644
--- a/user_channel/cipher_mgmt.cpp
+++ b/user_channel/cipher_mgmt.cpp
@@ -20,9 +20,10 @@
#include <sys/types.h>
#include <unistd.h>
+#include <phosphor-logging/log.hpp>
+
#include <filesystem>
#include <fstream>
-#include <phosphor-logging/log.hpp>
namespace ipmi
{
@@ -117,8 +118,8 @@
int CipherConfig::writeCSPrivilegeLevels(const Json& jsonData)
{
- std::string tmpFile =
- static_cast<std::string>(cipherSuitePrivFileName) + "_tmpXXXXXX";
+ std::string tmpFile = static_cast<std::string>(cipherSuitePrivFileName) +
+ "_tmpXXXXXX";
std::vector<char> tmpRandomFile(tmpFile.length() + 1);
strncpy(tmpRandomFile.data(), tmpFile.c_str(), tmpFile.length() + 1);