[openssl-dev] Calculating DTLS payload MTU
Matt Caswell
matt at openssl.org
Wed Oct 5 20:31:56 UTC 2016
On 05/10/16 15:37, David Woodhouse wrote:
> DTLS_set_link_mtu(vpninfo->dtls_ssl, mtu);
>
> /* We already set the link MTU, but hopefully by the time we
> * finish it, this function will be better at working out the
> * actual tunnel MTU than OpenSSL is. So do that too... */
> SSL_set_mtu(vpninfo->dtls_ssl, tun_mtu);
This is pointless. The link mtu setting will take precedence.
Matt
More information about the openssl-dev
mailing list