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: I75f89d2959b0f1338c20d72ad669fbdc1d720835
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/hostname_monitor.hpp b/include/hostname_monitor.hpp
index ed719d5..fd49b02 100644
--- a/include/hostname_monitor.hpp
+++ b/include/hostname_monitor.hpp
@@ -75,9 +75,9 @@
const int maxKeySize = 256;
std::array<char, maxKeySize> cnBuffer{};
- int cnLength =
- X509_NAME_get_text_by_NID(X509_get_subject_name(cert), NID_commonName,
- cnBuffer.data(), cnBuffer.size());
+ int cnLength = X509_NAME_get_text_by_NID(X509_get_subject_name(cert),
+ NID_commonName, cnBuffer.data(),
+ cnBuffer.size());
if (cnLength == -1)
{
BMCWEB_LOG_ERROR << "Failed to read NID_commonName";