aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_channel.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-07 01:17:47 -0500
committerJack Lloyd <[email protected]>2016-02-07 02:30:54 -0500
commit3fcb235c98a78a3cf98633a6a6067b82d2a8b871 (patch)
tree30feb856393f4f6ec61666f94390e27ca5bd93c3 /src/lib/tls/tls_channel.h
parent45d2ae1b48aeebd00567d820dfb8fe261bb50be9 (diff)
Remove TLS heartbeat support.
The signature of the alert callback remains unchanged to avoid breaking applications, though now the buffer parameter is never set.
Diffstat (limited to 'src/lib/tls/tls_channel.h')
-rw-r--r--src/lib/tls/tls_channel.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/tls/tls_channel.h b/src/lib/tls/tls_channel.h
index 9ef2d17c4..aca5c7138 100644
--- a/src/lib/tls/tls_channel.h
+++ b/src/lib/tls/tls_channel.h
@@ -161,28 +161,6 @@ class BOTAN_DLL Channel
*/
bool timeout_check();
- /**
- * @return true iff the peer supports heartbeat messages
- */
- bool peer_supports_heartbeats() const;
-
- /**
- * @return true iff we are allowed to send heartbeat messages
- */
- bool heartbeat_sending_allowed() const;
-
- /**
- * Attempt to send a heartbeat message (if negotiated with counterparty)
- * @param payload will be echoed back
- * @param payload_size size of payload in bytes
- * @param pad_bytes include 16 + pad_bytes extra bytes in the message (not echoed)
- */
- void heartbeat(const byte payload[], size_t payload_size, size_t pad_bytes = 0);
-
- /**
- * Attempt to send a heartbeat message (if negotiated with counterparty)
- */
- void heartbeat() { heartbeat(nullptr, 0); }
protected:
virtual void process_handshake_msg(const Handshake_State* active_state,