summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-04-13 19:11:15 +0300
committerEd Tanous <ed@tanous.net>2024-04-18 18:40:17 +0300
commit8db83747b6ea72de30ac83f19578ecc37489b13d (patch)
tree86bd287fc7fa1a93df5761af93554ef45f9bdc18 /include
parent3e7374243ff53125f3a55c2d0b1927e89261b1f9 (diff)
downloadbmcweb-8db83747b6ea72de30ac83f19578ecc37489b13d.tar.xz
Clean up BMCWEB_ENABLE_SSL
This macro came originally from CROW_ENABLE_SSL, and was used as a macro to optionally compile without openssl being required. OpenSSL has been pulled into many other dependencies, and has been functionally required to be included for a long time, so there's no reason to hold onto this macro. Remove most uses of the macro, and for the couple functional places the macro is used, transition to a constexpr if to enable the TLS paths. This allows a large simplification of code in some places. Tested: Redfish service validator passes. Change-Id: Iebd46a68e5e417b6031479e24be3c21bef782f4c Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'include')
-rw-r--r--include/hostname_monitor.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hostname_monitor.hpp b/include/hostname_monitor.hpp
index 188deff564..bb6998798a 100644
--- a/include/hostname_monitor.hpp
+++ b/include/hostname_monitor.hpp
@@ -1,5 +1,4 @@
#pragma once
-#ifdef BMCWEB_ENABLE_SSL
#include "dbus_singleton.hpp"
#include "dbus_utility.hpp"
#include "include/dbus_utility.hpp"
@@ -148,4 +147,3 @@ inline void registerHostnameSignal()
}
} // namespace hostname_monitor
} // namespace crow
-#endif