Fix GnuTLS DTLS MTU for GnuTLS 3.0.21 and above
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 Jun 2012 23:55:06 +0000 (00:55 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 30 Jun 2012 00:08:37 +0000 (01:08 +0100)
commit06f783872f6ea63a88721c8567fc8c271a6e7a19
tree173d2a81f2690934144d064cbb78d282698ed2b6
parent8a0918a0e9ef7a194605b127025fb2c904d1a1fa
Fix GnuTLS DTLS MTU for GnuTLS 3.0.21 and above

The fix in 4.01 (commit c218e2ac) was relying on buggy behaviour of
GnuTLS. It shouldn't have been sufficient just to pass it the *data* MTU
plus 13 and rely on the fact that GnuTLS will happily send packets
larger than that. In fixing GnuTLS MTU handling and adding the new
gnutls_dtls_set_data_mtu() function in 3.0.21, I have broken my own
code. And it serves me right.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
configure.ac
dtls.c
www/changelog.xml