diff options
author | Ed Tanous <ed@tanous.net> | 2020-10-12 17:46:27 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-13 20:04:06 +0300 |
commit | 72d52d2511bfcb2bdd168a561d16ce2c0dd436aa (patch) | |
tree | 19f49fb8f4253e19e6aa9203033608c2b1e10142 | |
parent | 789fdab3cfb9ae8e3338b9d855ef3dc144ed173f (diff) | |
download | bmcweb-72d52d2511bfcb2bdd168a561d16ce2c0dd436aa.tar.xz |
Fix integer constant from 20 to 18
A bad click merged a commit before it was ready (it was +2ed
previously). So far as I'm aware, this was the only change needed.
Happy to revert it if someone sees need to.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I4bb842edd78a4d580bb4842e4a708632761fa86d
-rw-r--r-- | redfish-core/lib/certificate_service.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/certificate_service.hpp b/redfish-core/lib/certificate_service.hpp index 276e2ac459..6fc5515048 100644 --- a/redfish-core/lib/certificate_service.hpp +++ b/redfish-core/lib/certificate_service.hpp @@ -161,7 +161,7 @@ class CertificateFile CertificateFile& operator=(CertificateFile&&) = delete; CertificateFile(const std::string& certString) { - std::array<char, 20> dirTemplate = {'/', 't', 'm', 'p', '/', 'C', + std::array<char, 18> dirTemplate = {'/', 't', 'm', 'p', '/', 'C', 'e', 'r', 't', 's', '.', 'X', 'X', 'X', 'X', 'X', 'X', '\0'}; char* tempDirectory = mkdtemp(dirTemplate.data()); |