aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_blocking.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-02-28 20:49:20 +0000
committerlloyd <[email protected]>2013-02-28 20:49:20 +0000
commit2a86d1ef1aae29037704c4b26fd79f9fb64c747f (patch)
treec23fe60525df1988f07693c10f18e083c114c7c2 /src/tls/tls_blocking.cpp
parent5d06d27894869db54c9dcad2e71326fca294521e (diff)
Blocking_Client fixes. Add relnote
Diffstat (limited to 'src/tls/tls_blocking.cpp')
-rw-r--r--src/tls/tls_blocking.cpp10
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);