mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-11 15:21:45 +02:00
Build without wss support, if OpenSSL is not found
This commit is contained in:
parent
c105fecc5b
commit
2addf7cc3d
16 changed files with 68 additions and 27 deletions
|
@ -517,6 +517,7 @@ void ClientConnectionWs::write(boost::asio::streambuf& buffer, WriteHandler&& wr
|
|||
|
||||
/////////////////////////////// SSL Websockets ////////////////////////////////
|
||||
|
||||
#ifdef HAS_OPENSSL
|
||||
|
||||
ClientConnectionWss::ClientConnectionWss(boost::asio::io_context& io_context, boost::asio::ssl::context& ssl_context, ClientSettings::Server server)
|
||||
: ClientConnection(io_context, std::move(server)), ssl_context_(ssl_context)
|
||||
|
@ -683,3 +684,5 @@ void ClientConnectionWss::write(boost::asio::streambuf& buffer, WriteHandler&& w
|
|||
{
|
||||
getWs().async_write(boost::asio::buffer(buffer.data()), write_handler);
|
||||
}
|
||||
|
||||
#endif // HAS_OPENSSL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue