[gnutls-devel] GnuTLS | TLS 1.3: ignore "early_data" extension (!706)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jul 27 15:35:37 CEST 2018


Daiki Ueno commented on a discussion on lib/tls13/session_ticket.c:

>  				goto cleanup;
>  			}
>  
> -			ret = _gnutls_buffer_append_prefix(&buf, 16, 0);
> +			_gnutls_free_datum(&ticket.ticket);
> +
> +			ret = _gnutls_extv_append_init(&buf);
>  			if (ret < 0) {
>  				gnutls_assert();
>  				goto cleanup;
>  			}
> +			init_pos = ret;
>  
> -			_gnutls_free_datum(&ticket.ticket);
> +			ret = _gnutls_extv_append(&buf, ext_mod_early_data.tls_id, session,

That's correct; removed this part.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/706#note_90801464
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/20180727/9a1350f8/attachment-0001.html>


More information about the Gnutls-devel mailing list