Updates to s_client and s_server to remove the constant 28 (for IPv4 header
authorMatt Caswell <matt@openssl.org>
Mon, 1 Dec 2014 23:57:44 +0000 (23:57 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 3 Dec 2014 09:31:39 +0000 (09:31 +0000)
commitc0b90b3237b337e4b1abb7c352952ebe3ef9ca03
tree2bca80677d5ab6bb97017211981ecafa0b0c86f0
parent788a5bad17ef488a0b5bcd7d6e3468fca2717911
Updates to s_client and s_server to remove the constant 28 (for IPv4 header
and UDP header) when setting an mtu. This constant is not always correct (e.g.
if using IPv6). Use the new DTLS_CTRL functions instead.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 464ce92026bd0c79186cbefa75470f39607110be)
apps/s_client.c
apps/s_server.c