diff options
author | Jack Lloyd <[email protected]> | 2016-02-07 01:17:47 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-02-07 02:30:54 -0500 |
commit | 3fcb235c98a78a3cf98633a6a6067b82d2a8b871 (patch) | |
tree | 30feb856393f4f6ec61666f94390e27ca5bd93c3 /src/lib/tls/tls_policy.cpp | |
parent | 45d2ae1b48aeebd00567d820dfb8fe261bb50be9 (diff) |
Remove TLS heartbeat support.
The signature of the alert callback remains unchanged to avoid
breaking applications, though now the buffer parameter is never set.
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r-- | src/lib/tls/tls_policy.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp index 28ef2f1eb..096dffb4a 100644 --- a/src/lib/tls/tls_policy.cpp +++ b/src/lib/tls/tls_policy.cpp @@ -167,7 +167,6 @@ bool Policy::acceptable_ciphersuite(const Ciphersuite&) const return true; } -bool Policy::negotiate_heartbeat_support() const { return false; } bool Policy::allow_server_initiated_renegotiation() const { return false; } bool Policy::allow_insecure_renegotiation() const { return false; } bool Policy::include_time_in_hello_random() const { return true; } @@ -348,7 +347,6 @@ void Policy::print(std::ostream& o) const print_vec(o, "key_exchange_methods", allowed_key_exchange_methods()); print_vec(o, "ecc_curves", allowed_ecc_curves()); - print_bool(o, "negotiate_heartbeat_support", negotiate_heartbeat_support()); print_bool(o, "allow_insecure_renegotiation", allow_insecure_renegotiation()); print_bool(o, "include_time_in_hello_random", include_time_in_hello_random()); print_bool(o, "allow_server_initiated_renegotiation", allow_server_initiated_renegotiation()); |