]> granicus.if.org Git - openssl/commit
Remove instances in libssl of the constant 28 (for size of IPv4 header + UDP)
authorMatt Caswell <matt@openssl.org>
Mon, 1 Dec 2014 23:58:05 +0000 (23:58 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 3 Dec 2014 09:24:12 +0000 (09:24 +0000)
commit59669b6abf620d1ed2ef4d1e2df25c998b89b64d
treeee04fd7cf4ff6376a54e4412b97e3932304ce9f4
parent0d3ae34df573f477b6b1aaf614d52dcdfcff5fce
Remove instances in libssl of the constant 28 (for size of IPv4 header + UDP)
and instead use the value provided by the underlying BIO. Also provide some
new DTLS_CTRLs so that the library user can set the mtu without needing to
know this constant. These new DTLS_CTRLs provide the capability to set the
link level mtu to be used (i.e. including this IP/UDP overhead). The previous
DTLS_CTRLs required the library user to subtract this overhead first.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/d1_both.c
ssl/d1_lib.c
ssl/dtls1.h
ssl/ssl.h
ssl/ssl_lib.c
ssl/ssl_locl.h