summaryrefslogtreecommitdiffstats
path: root/ssl/d1_both.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-03 17:14:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-03 17:14:48 +0000
commit2ab42de1ec2303f1ab2e155c260158580c3c57e5 (patch)
tree33bb297d5d444de46c8193c3b20c9e4410791ce0 /ssl/d1_both.c
parentac2024ccbfb8523538a6378695e8cd77e61d1306 (diff)
PR: 2462
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Fix DTLS Retransmission Buffer Bug
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r--ssl/d1_both.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index c195159967..2180c6d4da 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -468,20 +468,6 @@ again:
if (!s->d1->listen)
s->d1->handshake_read_seq++;
- /* we just read a handshake message from the other side:
- * this means that we don't need to retransmit of the
- * buffered messages.
- * XDTLS: may be able clear out this
- * buffer a little sooner (i.e if an out-of-order
- * handshake message/record is received at the record
- * layer.
- * XDTLS: exception is that the server needs to
- * know that change cipher spec and finished messages
- * have been received by the client before clearing this
- * buffer. this can simply be done by waiting for the
- * first data segment, but is there a better way? */
- dtls1_clear_record_buffer(s);
-
s->init_msg = s->init_buf->data + DTLS1_HM_HEADER_LENGTH;
return s->init_num;