[gnutls-devel] GnuTLS | add support for 0-RTT (!775)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Oct 29 20:29:53 CET 2018


Nikos Mavrogiannopoulos commented on a discussion on lib/tls13/session_ticket.c:

>  	return 0;
>  }
>  
> +static int append_nst_extension(void *ctx, gnutls_buffer_st *buf)
> +{
> +	gnutls_session_t session = ctx;
> +	int ret;
> +
> +	if (!(session->internals.flags & GNUTLS_ENABLE_EARLY_DATA))

Indeed, that's why I think we shouldn't communicate (as server) values which don't have much sense as they may cause unpredictable behavior to clients. Alternatively, we could return an error when a zero value is set.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_112946267
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/20181029/8e938ca0/attachment-0001.html>


More information about the Gnutls-devel mailing list