bmcweb: Fix inversion of SSL
Somehow, in a patchset merge, SSL got inverted with not SSL, so SSL mode
enabled an SSL socket, and non SSL mode enabled an SSL socket.
THis should resolve it.
Change-Id: Ia3ebc0bf6ce341a66756dc192d66894b2e9121a7
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/crow/include/crow/app.h b/crow/include/crow/app.h
index b935bf1..428705d 100644
--- a/crow/include/crow/app.h
+++ b/crow/include/crow/app.h
@@ -29,10 +29,10 @@
using self_t = Crow;
#ifdef BMCWEB_ENABLE_SSL
- using ssl_socket_t = SocketAdaptor;
+ using ssl_socket_t = SSLAdaptor;
using ssl_server_t = Server<Crow, ssl_socket_t, Middlewares...>;
#else
- using socket_t = SSLAdaptor;
+ using socket_t = SocketAdaptor;
using server_t = Server<Crow, socket_t, Middlewares...>;
#endif