[gnutls-devel] GnuTLS | ext/record_size_limit: distinguish sending and receiving limits (!985)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Apr 29 13:51:17 CEST 2019




Hubert Kario (@mention me if you need reply) commented on a discussion on lib/ext/max_record.c: https://gitlab.com/gnutls/gnutls/merge_requests/985#note_165161120

>  
>  	/* this function sends the client extension data (dnsname) */
>  	if (session->security_parameters.entity == GNUTLS_CLIENT) {
> -		if (session->security_parameters.max_record_send_size !=
> +		/* this extension requires that both sending and
> +		 * receiving limits are the same */

yes, the limits apply to both sending and receiving, but the limit for sending and receiving can be different (including a situation where either of those is not limited in practice)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/985#note_165161120
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/20190429/ff8b39f3/attachment-0001.html>


More information about the Gnutls-devel mailing list