DTLS handshake message fragments musn't span packets
authorMatt Caswell <matt@openssl.org>
Mon, 1 Jun 2015 16:25:29 +0000 (17:25 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 10 Jun 2015 11:10:18 +0000 (12:10 +0100)
commit9dcab127e14467733523ff7626da8906e67eedd6
tree41c2fec638eb04f53ec86b0b8b231265b48b7410
parent3e8f9dc1a07df10dd52544efa269628744a40173
DTLS handshake message fragments musn't span packets

It should not be possible for DTLS message fragments to span multiple
packets. However previously if the message header fitted exactly into one
packet, and the fragment body was in the next packet then this would work.
Obviously this would fail if packets get re-ordered mid-flight.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/d1_both.c