Skip to content
Snippets Groups Projects
Commit 6c6a0965 authored by Robert Butora's avatar Robert Butora
Browse files

ssl: deprecated ssl::context constructor removed in boost 1.66

parent 612769cb
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,7 @@ SSLServer::SSLServer(Tango::DeviceImpl* deviceImpl_p, ...@@ -15,8 +15,7 @@ SSLServer::SSLServer(Tango::DeviceImpl* deviceImpl_p,
{ {
DEBUG_STREAM << "SSLServer::SSLServer()" << endl; DEBUG_STREAM << "SSLServer::SSLServer()" << endl;
m_context_sp.reset(new boost::asio::ssl::context(*m_ioService_sp, m_context_sp.reset(new boost::asio::ssl::context(boost::asio::ssl::context::sslv23));
boost::asio::ssl::context::sslv23));
m_context_sp->set_options(boost::asio::ssl::context::default_workarounds | m_context_sp->set_options(boost::asio::ssl::context::default_workarounds |
boost::asio::ssl::context::no_sslv2 | boost::asio::ssl::context::no_sslv2 |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment