Matt Caswell a8da754d84 Fix dtls_query_mtu so that it will always either complete with an mtu that is
at least the minimum or it will fail.
There were some instances in dtls1_query_mtu where the final mtu can end up
being less than the minimum, i.e. where the user has set an mtu manually. This
shouldn't be allowed. Also remove dtls1_guess_mtu that, despite having
logic for guessing an mtu, was actually only ever used to work out the minimum
mtu to use.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 1620a2e49c777f31f2ce57966ae74006b48ad759)
2014-12-03 09:43:49 +00:00
..
2012-04-16 17:43:28 +00:00
2009-04-21 22:20:12 +00:00
2014-02-26 15:33:31 +00:00
2014-09-24 15:58:20 +02:00
2013-02-05 16:46:15 +00:00
2014-11-27 21:58:32 +00:00
2014-10-15 04:05:57 +02:00
2011-02-03 12:04:40 +00:00
2014-10-15 04:05:57 +02:00
2014-09-24 15:58:20 +02:00
2014-10-15 08:49:50 -04:00
2002-07-10 07:01:54 +00:00
2001-11-10 01:16:28 +00:00
2014-10-15 04:05:57 +02:00
2013-02-05 16:46:17 +00:00
2014-10-15 04:05:57 +02:00
2009-09-12 23:09:26 +00:00
2010-02-01 16:49:42 +00:00
2009-06-30 22:26:28 +00:00
2013-02-11 18:27:06 +00:00
2014-10-15 04:05:57 +02:00
2014-10-15 08:49:50 -04:00
2009-12-27 22:59:09 +00:00