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:35:25 +0000 (09:35 +0000)
commitd68aade28a18636c815f35a8803d32b52fb3e916
treece367aea58296c65da36d799fa15f332d346ac70
parent3242e5938be7273948ea959138b614de5e118515
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