diff options
Diffstat (limited to 'src/cli/tls_server.cpp')
-rw-r--r-- | src/cli/tls_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/tls_server.cpp b/src/cli/tls_server.cpp index 335f36c97..c9f0b0a79 100644 --- a/src/cli/tls_server.cpp +++ b/src/cli/tls_server.cpp @@ -110,7 +110,7 @@ class TLS_Server final : public Command Botan::TLS::Server server(Botan::TLS::Server::Callbacks( socket_write, proc_fn, - std::bind(&TLS_Server::alert_received, this, _1, _2, _3), + std::bind(&TLS_Server::alert_received, this, _1), std::bind(&TLS_Server::handshake_complete, this, _1)), session_manager, creds, @@ -238,7 +238,7 @@ class TLS_Server final : public Command } } - void alert_received(Botan::TLS::Alert alert, const uint8_t[], size_t) + void alert_received(Botan::TLS::Alert alert) { std::cout << "Alert: " << alert.type_string() << std::endl; } |