From 89b75a5a36c18a7593aa6bdbb472e301904a66b3 Mon Sep 17 00:00:00 2001 From: Matthias Gierlings Date: Fri, 13 May 2016 00:42:16 +0200 Subject: 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. --- src/lib/tls/tls_blocking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/tls/tls_blocking.cpp') 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); } -- cgit v1.2.3