aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_handshake_io.cpp')
-rw-r--r--src/tls/tls_handshake_io.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tls/tls_handshake_io.cpp b/src/tls/tls_handshake_io.cpp
index fd2e7ea98..96329c55c 100644
--- a/src/tls/tls_handshake_io.cpp
+++ b/src/tls/tls_handshake_io.cpp
@@ -314,7 +314,6 @@ size_t split_for_mtu(size_t mtu, size_t msg_size)
}
-
std::vector<byte>
Datagram_Handshake_IO::send(const Handshake_Message& msg)
{
@@ -329,8 +328,6 @@ Datagram_Handshake_IO::send(const Handshake_Message& msg)
const std::vector<byte> no_fragment =
format_w_seq(msg_bits, msg.type(), m_out_message_seq);
- m_mtu = 64;
-
if(no_fragment.size() + DTLS_HEADER_SIZE <= m_mtu)
m_send_hs(HANDSHAKE, no_fragment);
else