From 140b7b20d45da44af93c301bb1b09b088b385826 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 7 Sep 2012 17:50:19 +0000 Subject: Channel::heartbeat_support was removed --- src/tls/tls_channel.h | 2 -- src/tls/tls_client.cpp | 3 --- src/tls/tls_server.cpp | 3 --- 3 files changed, 8 deletions(-) diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index e9019222e..63d9b7264 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -119,8 +119,6 @@ class BOTAN_DLL Channel void activate_session(); - void heartbeat_support(bool peer_supports, bool allowed_to_send); - void set_protocol_version(Protocol_Version version); Protocol_Version current_protocol_version() const diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp index 8b3b745e9..77206abc3 100644 --- a/src/tls/tls_client.cpp +++ b/src/tls/tls_client.cpp @@ -226,9 +226,6 @@ void Client::process_handshake_msg(const Handshake_State* /*active_state*/, m_secure_renegotiation.update(state.server_hello()); - heartbeat_support(state.server_hello()->supports_heartbeats(), - state.server_hello()->peer_can_send_heartbeats()); - const bool server_returned_same_session_id = !state.server_hello()->session_id().empty() && (state.server_hello()->session_id() == state.client_hello()->session_id()); diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp index 609954f51..fe9018ac2 100644 --- a/src/tls/tls_server.cpp +++ b/src/tls/tls_server.cpp @@ -344,9 +344,6 @@ void Server::process_handshake_msg(const Handshake_State* active_state, set_protocol_version(negotiated_version); - heartbeat_support(state.client_hello()->supports_heartbeats(), - state.client_hello()->peer_can_send_heartbeats()); - Session session_info; const bool resuming = dynamic_cast(state).allow_session_resumption && -- cgit v1.2.3