diff options
Diffstat (limited to 'src/tls/tls_blocking.cpp')
-rw-r--r-- | src/tls/tls_blocking.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/tls/tls_blocking.cpp b/src/tls/tls_blocking.cpp index e0f31b1ca..ee94f086e 100644 --- a/src/tls/tls_blocking.cpp +++ b/src/tls/tls_blocking.cpp @@ -25,7 +25,7 @@ Blocking_Client::Blocking_Client(std::function<size_t (byte[], size_t)> read_fn, m_read_fn(read_fn), m_channel(write_fn, std::bind(&Blocking_Client::process_data, this, _1, _2, _3), - std::bind(&Blocking_Client::handshake_complete, this, _1, _2, _3), + std::bind(&Blocking_Client::handshake_complete, this, _1), session_manager, creds, policy, @@ -36,14 +36,6 @@ Blocking_Client::Blocking_Client(std::function<size_t (byte[], size_t)> read_fn, { } -#if 0 -Blocking_Client::Blocking_Client(std::function<size_t (byte[], size_t)> read_fn, - std::function<void (const byte[], size_t)> write_fn, - const TLS_Policy& policy, - RandomNumberGenerator& rng) : - m_read_fn(read_fn) -#endif - bool Blocking_Client::handshake_complete_cb(const Session& session) { return this->handshake_complete(session); |