diff options
author | louiz’ <louiz@louiz.org> | 2021-11-22 12:34:15 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2021-11-22 12:34:15 +0100 |
commit | 18b6006e30c26a2fb6196e3b16420de74a654a73 (patch) | |
tree | e3ddf1aa1f6fecce81ffcb1db2e3442546519baf /src | |
parent | b49594ea3e847092f93de2443eef36d700ece79d (diff) | |
download | biboumi-18b6006e30c26a2fb6196e3b16420de74a654a73.tar.gz biboumi-18b6006e30c26a2fb6196e3b16420de74a654a73.tar.bz2 biboumi-18b6006e30c26a2fb6196e3b16420de74a654a73.tar.xz biboumi-18b6006e30c26a2fb6196e3b16420de74a654a73.zip |
Follow-up of the previous on: also catch that on recv events
fix #3460
Diffstat (limited to 'src')
-rw-r--r-- | src/network/tcp_socket_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp index f5e0d68..5e4ae30 100644 --- a/src/network/tcp_socket_handler.cpp +++ b/src/network/tcp_socket_handler.cpp @@ -261,7 +261,7 @@ void TCPSocketHandler::tls_recv() const bool was_active = this->tls->is_active(); try { this->tls->received_data(recv_buf, static_cast<size_t>(size)); - } catch (const Botan::TLS::TLS_Exception& e) { + } catch (const Botan::Exception& e) { // May happen if the server sends malformed TLS data (buggy server, // or more probably we are just connected to a server that sends // plain-text) |