aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-07 17:50:19 +0000
committerlloyd <[email protected]>2012-09-07 17:50:19 +0000
commit140b7b20d45da44af93c301bb1b09b088b385826 (patch)
tree4bfba38ec10d51328a13a1870c15c595e1e8af4a
parent2bb0c695f53f08324ac4fbe03d3e052d5e2d089a (diff)
Channel::heartbeat_support was removed
-rw-r--r--src/tls/tls_channel.h2
-rw-r--r--src/tls/tls_client.cpp3
-rw-r--r--src/tls/tls_server.cpp3
3 files changed, 0 insertions, 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<Server_Handshake_State&>(state).allow_session_resumption &&