[gnutls-devel] GnuTLS | Fix issues in record_size_limit extension handling (!879)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Feb 8 16:10:08 CET 2019


Daiki Ueno commented on a discussion on lib/gnutls_int.h:

>  {
>  	size_t max;
>  
> -	if (IS_DTLS(session)) {
> -		max = MIN(gnutls_dtls_get_data_mtu(session), session->security_parameters.max_record_send_size);
> -	} else {
> -		max = session->security_parameters.max_record_send_size;
> -	}
> +	max = MIN(session->security_parameters.max_record_send_size,
> +		  session->security_parameters.max_record_recv_size);

See the other comment.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/879#note_139606508
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190208/796c207c/attachment.html>


More information about the Gnutls-devel mailing list