aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-02-20 14:23:46 -0500
committerJack Lloyd <[email protected]>2017-02-20 14:23:46 -0500
commit93b361fc07733f92eb5519fa9de00ed1fa61f1ee (patch)
treea6f592605c089fe1ce8f135b736abcb6c182c49b /src/lib/tls/tls_policy.h
parentebe32d7687aa9284003aa322c82d3ad2c7e8673b (diff)
Fix logic of renegotiation check
Turning the policy off broke the server entirely. Expose the new flag to Text_Policy
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r--src/lib/tls/tls_policy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index b6afd7b28..64f6f84a0 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -480,6 +480,8 @@ class BOTAN_DLL Text_Policy : public Policy
bool include_time_in_hello_random() const override
{ return get_bool("include_time_in_hello_random", Policy::include_time_in_hello_random()); }
+ bool allow_client_initiated_renegotiation() const override
+ { return get_bool("allow_client_initiated_renegotiation", Policy::allow_client_initiated_renegotiation()); }
bool allow_server_initiated_renegotiation() const override
{ return get_bool("allow_server_initiated_renegotiation", Policy::allow_server_initiated_renegotiation()); }