If we really get a situation where the underlying mtu is less than the minimum
authorMatt Caswell <matt@openssl.org>
Tue, 2 Dec 2014 00:16:55 +0000 (00:16 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 3 Dec 2014 09:43:49 +0000 (09:43 +0000)
commitceb4c684e463d560e35833da5f575719b5c5af51
tree5ebc73c27357b27f31a78e288a78aabaf10b446c
parenta8da754d8482f09ce621305b156c2a0d64c16e9b
If we really get a situation where the underlying mtu is less than the minimum
we will support then dtls1_do_write can go into an infinite loop. This commit
fixes that.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit d3d9eef31661633f5b003a9e115c1822f79d1870)
ssl/d1_both.c