clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ia2e47cf46f7481581dc8360553c10a096cafcdce
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/certificate.cpp b/certificate.cpp
index c99b0b0..696c6f2 100644
--- a/certificate.cpp
+++ b/certificate.cpp
@@ -135,8 +135,8 @@
}
}
-std::string
- Certificate::generateUniqueFilePath(const std::string& directoryPath)
+std::string Certificate::generateUniqueFilePath(
+ const std::string& directoryPath)
{
char* filePath = tempnam(directoryPath.c_str(), nullptr);
if (filePath == nullptr)
@@ -177,8 +177,8 @@
elog<InternalFailure>();
}
-std::string
- Certificate::generateAuthCertFilePath(const std::string& certSrcFilePath)
+std::string Certificate::generateAuthCertFilePath(
+ const std::string& certSrcFilePath)
{
// If there is a certificate file path (which means certificate replacement
// is doing) use it (do not create new one)
@@ -200,8 +200,8 @@
}
}
-std::string
- Certificate::generateCertFilePath(const std::string& certSrcFilePath)
+std::string Certificate::generateCertFilePath(
+ const std::string& certSrcFilePath)
{
if (certType == CertificateType::authority)
{