diff --git a/include/roar/client.hpp b/include/roar/client.hpp index a3210130..0df3753e 100644 --- a/include/roar/client.hpp +++ b/include/roar/client.hpp @@ -46,7 +46,10 @@ namespace Roar /** * @brief sslVerifyCallback, you can use boost::asio::ssl::rfc2818_verification(host) most of the time. */ - std::function sslVerifyCallback; + std::function sslVerifyCallback = [](bool, auto&) { + // Ending here? Do not forget to implement your own callback. + return false; + }; }; struct ConstructionArguments