aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_blocking.cpp
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-05-13 00:42:16 +0200
committerMatthias Gierlings <[email protected]>2016-06-19 18:28:34 +0200
commit89b75a5a36c18a7593aa6bdbb472e301904a66b3 (patch)
tree2b8522fb174365ef1b880e7416feb51798e3b7cd /src/lib/tls/tls_blocking.cpp
parent29e3af141c849ca6efcf755a3abb2c51a7c553e8 (diff)
Implemented Feedback on GH #457
- Removed deprecated TLS-Alert-Callback parameters. - Fixed improper naming of accessor for ALPN-Strings in tls_client.h - Fixed erroneous indentation on Ciphersuite Constructor.
Diffstat (limited to 'src/lib/tls/tls_blocking.cpp')
-rw-r--r--src/lib/tls/tls_blocking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_blocking.cpp b/src/lib/tls/tls_blocking.cpp
index 14e04693d..4c78a44ce 100644
--- a/src/lib/tls/tls_blocking.cpp
+++ b/src/lib/tls/tls_blocking.cpp
@@ -25,7 +25,7 @@ Blocking_Client::Blocking_Client(read_fn reader,
m_channel(TLS::Client::Callbacks(
writer,
std::bind(&Blocking_Client::data_cb, this, _1, _2),
- std::bind(&Blocking_Client::alert_cb, this, _1, _2, _3),
+ std::bind(&Blocking_Client::alert_cb, this, _1),
std::bind(&Blocking_Client::handshake_cb, this, _1)
),
session_manager,
@@ -41,7 +41,7 @@ bool Blocking_Client::handshake_cb(const Session& session)
return this->handshake_complete(session);
}
-void Blocking_Client::alert_cb(const Alert& alert, const byte[], size_t)
+void Blocking_Client::alert_cb(const Alert& alert)
{
this->alert_notification(alert);
}