diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/tls_proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/tls_proxy.cpp b/src/cli/tls_proxy.cpp index f5f666cf1..054a8f8ca 100644 --- a/src/cli/tls_proxy.cpp +++ b/src/cli/tls_proxy.cpp @@ -112,10 +112,10 @@ class tls_proxy_session : public boost::enable_shared_from_this<tls_proxy_sessio m_server_endpoints(endpoints), m_client_socket(io), m_server_socket(io), - m_tls(boost::bind(&tls_proxy_session::tls_proxy_write_to_client, this, _1, _2), + m_tls(Botan::TLS::Server::Callbacks(boost::bind(&tls_proxy_session::tls_proxy_write_to_client, this, _1, _2), boost::bind(&tls_proxy_session::tls_client_write_to_proxy, this, _1, _2), boost::bind(&tls_proxy_session::tls_alert_cb, this, _1, _2, _3), - boost::bind(&tls_proxy_session::tls_handshake_complete, this, _1), + boost::bind(&tls_proxy_session::tls_handshake_complete, this, _1)), session_manager, credentials, policy, |