aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.cpp
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.cpp
parent5b7c0aba50abf70ac081277141aaf375e4d8373d (diff)
Add TLS::Policy::allow_client_initiated_renegotiation
Parallel of the server policy flag.
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r--src/lib/tls/tls_policy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp
index 60f8957c0..0bc2d4418 100644
--- a/src/lib/tls/tls_policy.cpp
+++ b/src/lib/tls/tls_policy.cpp
@@ -266,6 +266,7 @@ bool Policy::acceptable_ciphersuite(const Ciphersuite&) const
return true;
}
+bool Policy::allow_client_initiated_renegotiation() const { return true; }
bool Policy::allow_server_initiated_renegotiation() const { return false; }
bool Policy::allow_insecure_renegotiation() const { return false; }
bool Policy::allow_tls10() const { return true; }