Skip to content
Commit a8da754d authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarTim Hudson <tjh@openssl.org>
(cherry picked from commit 1620a2e4)
parent 8ccb44e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment