aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_proxy.cpp
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-04-01 22:00:10 +0200
committerMatthias Gierlings <[email protected]>2016-06-19 18:25:51 +0200
commit29e3af141c849ca6efcf755a3abb2c51a7c553e8 (patch)
treef4dd2a6744db59c3013555a06670a69a96b2b387 /src/cli/tls_proxy.cpp
parentaaec83d928306822dc8642dd5e0a068740548863 (diff)
Fix For Travis CI build errors on Mac-Systems.
- Corrected TLS::Server constructor call in CLI TLS-Proxy.
Diffstat (limited to 'src/cli/tls_proxy.cpp')
-rw-r--r--src/cli/tls_proxy.cpp4
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,