aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_messages.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-07 02:58:41 -0500
committerJack Lloyd <[email protected]>2016-02-07 02:58:41 -0500
commite23cfdeb6d079a2c8d147142f31934d2c8b3a881 (patch)
tree33a26385dbc5af02940ac5f4682c8b4b508cb6c1 /src/lib/tls/tls_messages.h
parentceb90fb9814d5118d406efcbcda2117b6b083ad4 (diff)
Remove support for the TLS min fragment length extension.
Diffstat (limited to 'src/lib/tls/tls_messages.h')
-rw-r--r--src/lib/tls/tls_messages.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h
index ba05ee9a7..739eca23e 100644
--- a/src/lib/tls/tls_messages.h
+++ b/src/lib/tls/tls_messages.h
@@ -114,13 +114,6 @@ class Client_Hello final : public Handshake_Message
return std::vector<byte>();
}
- size_t fragment_size() const
- {
- if(Maximum_Fragment_Length* frag = m_extensions.get<Maximum_Fragment_Length>())
- return frag->fragment_size();
- return 0;
- }
-
bool supports_session_ticket() const
{
return m_extensions.has<Session_Ticket>();
@@ -225,13 +218,6 @@ class Server_Hello final : public Handshake_Message
return std::vector<byte>();
}
- size_t fragment_size() const
- {
- if(Maximum_Fragment_Length* frag = m_extensions.get<Maximum_Fragment_Length>())
- return frag->fragment_size();
- return 0;
- }
-
bool supports_extended_master_secret() const
{
return m_extensions.has<Extended_Master_Secret>();