diff options
author | Jack Lloyd <[email protected]> | 2017-02-07 09:45:14 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-02-19 10:21:47 -0500 |
commit | ebe32d7687aa9284003aa322c82d3ad2c7e8673b (patch) | |
tree | 72e503cf1fe29cdbb83202705201ad9d9454f2cc /src/lib/tls/tls_policy.h | |
parent | 5b7c0aba50abf70ac081277141aaf375e4d8373d (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.h | 7 |
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; |