summaryrefslogtreecommitdiff
path: root/include/sessions.hpp
diff options
context:
space:
mode:
authorWilly Tu <wltu@google.com>2021-08-09 20:24:42 +0300
committerWilly Tu <wltu@google.com>2021-08-09 20:54:33 +0300
commit885bbf1c82ea9f9cbfbe0065ee46adc8e398c868 (patch)
treeafd74bc17af220ee67554401f479686ca43ee89c /include/sessions.hpp
parente6a716506447d2d03b99f1cd2007e207a6dfcae0 (diff)
downloadbmcweb-885bbf1c82ea9f9cbfbe0065ee46adc8e398c868.tar.xz
ssl: remove BMCWEB_ENABLE_SSL since openssl is not optional anymore
With `BMCWEB_ENABLE_SSL`, it will cause issues with functions that depends on `ensuressl`. Since openssl is required, that flag can be removed for the ssl_key_handler. prepareMutualTls() is dependent on `ensuressl` which is only available `insecure-disable-ssl` is disable so the CI didn't catch this error. If `insecure-disable-ssl` is enable, then `ensuressl` will be missing and fail the bmcweb build due to prepareMutualTls(). Error example, ``` Step #1: In file included from ../git/http/http_server.hpp:3, Step #1: from ../git/http/app.hpp:5, Step #1: from ../git/src/webserver_main.cpp:4: Step #1: ../git/http/http_connection.hpp: In member function 'void crow::Connection<Adaptor, Handler>::prepareMutualTls()': Step #1: ../git/http/http_connection.hpp:99:38: error: 'ensuressl' has not been declared Step #1: 99 | std::filesystem::path caPath(ensuressl::trustStorePath); Step #1: | ^~~~~~~~~ Step #1: ninja: build stopped: subcommand failed. ``` Change-Id: I3c010d5042b4615623b1c043a368ba5c9cbc6b4c Signed-off-by: Willy Tu <wltu@google.com>
Diffstat (limited to 'include/sessions.hpp')
0 files changed, 0 insertions, 0 deletions