aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-10-13 20:37:29 +0000
committerlloyd <[email protected]>2012-10-13 20:37:29 +0000
commit4be75ae1e9e473fc3e939be5e54e51f552d5934b (patch)
tree39b39921601d32ab8a901a6343fb0b8285cd253f /src/tls/tls_messages.h
parent9f1f35d7afc019ae03d478dc30f9552f6ba31a22 (diff)
Add TLS::Policy::negotiate_heartbeat_support which controls if the
client will offer heartbeats (or if a server will negotiate them if the client offers). Defaults to false, which is probably the right behavior in terms of minimizing surprise and attack surface.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index 70745ad9c..f1d4aa887 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -254,6 +254,7 @@ class Server_Hello : public Handshake_Message
Server_Hello(Handshake_IO& io,
Handshake_Hash& hash,
+ const Policy& policy,
const std::vector<byte>& session_id,
Protocol_Version ver,
u16bit ciphersuite,