From 5093b28115a674bfa26b06239f2c28981cbf73c2 Mon Sep 17 00:00:00 2001 From: Andreas Schultz Date: Thu, 7 Jan 2016 15:06:09 +0100 Subject: dtls: rework/simplify DTLS fragment decoder changed: * initialize deocder state when needed * remove retransmission indicator support --- lib/ssl/src/dtls_connection.hrl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ssl/src/dtls_connection.hrl') diff --git a/lib/ssl/src/dtls_connection.hrl b/lib/ssl/src/dtls_connection.hrl index 69137b520b..ee3daa3c14 100644 --- a/lib/ssl/src/dtls_connection.hrl +++ b/lib/ssl/src/dtls_connection.hrl @@ -31,6 +31,7 @@ -record(protocol_buffers, { dtls_packets = [], %%::[binary()], % Not yet handled decode ssl/tls packets. dtls_record_buffer = <<>>, %%:: binary(), % Buffer of incomplete records + dtls_fragment_state, %%:: [], % DTLS fragments dtls_handshake_buffer = <<>>, %%:: binary(), % Buffer of incomplete handshakes dtls_cipher_texts = [], %%:: [binary()], dtls_cipher_texts_next %%:: [binary()] % Received for Epoch not yet active -- cgit v1.2.3