aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r--src/lib/tls/tls_policy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index 5b205dfeb..9aaa1745c 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -78,7 +78,7 @@ class BOTAN_DLL Policy
/**
* Attempt to negotiate the use of the heartbeat extension
*/
- virtual bool negotiate_heartbeat_support() const { return false; }
+ virtual bool negotiate_heartbeat_support() const;
/**
* Allow renegotiation even if the counterparty doesn't
@@ -92,7 +92,7 @@ class BOTAN_DLL Policy
/**
* Allow servers to initiate a new handshake
*/
- virtual bool allow_server_initiated_renegotiation() const { return true; }
+ virtual bool allow_server_initiated_renegotiation() const;
/**
* Return the group to use for ephemeral Diffie-Hellman key agreement