aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-02-07 09:45:14 -0500
committerJack Lloyd <[email protected]>2017-02-19 10:21:47 -0500
commitebe32d7687aa9284003aa322c82d3ad2c7e8673b (patch)
tree72e503cf1fe29cdbb83202705201ad9d9454f2cc /src/lib/tls/tls_policy.h
parent5b7c0aba50abf70ac081277141aaf375e4d8373d (diff)
Add TLS::Policy::allow_client_initiated_renegotiation
Parallel of the server policy flag.
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r--src/lib/tls/tls_policy.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index 6f617c673..b6afd7b28 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -119,7 +119,12 @@ class BOTAN_DLL Policy
virtual bool include_time_in_hello_random() const;
/**
- * Allow servers to initiate a new handshake
+ * Consulted by server side. If true, allows clients to initiate a new handshake
+ */
+ virtual bool allow_client_initiated_renegotiation() const;
+
+ /**
+ * Consulted by client side. If true, allows servers to initiate a new handshake
*/
virtual bool allow_server_initiated_renegotiation() const;