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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jul 25 16:45:31 CEST 2018


Nikos Mavrogiannopoulos started a new discussion on lib/ext/early_data.c:

> +#include "num.h"
> +#include "hello_ext_lib.h"
> +#include <ext/early_data.h>
> +
> +static int early_data_recv_params(gnutls_session_t session,
> +				  const uint8_t * data,
> +				  size_t data_size);
> +static int early_data_send_params(gnutls_session_t session,
> +				  gnutls_buffer_st * extdata);
> +
> +const hello_ext_entry_st ext_mod_early_data = {
> +	.name = "Early Data",
> +	.tls_id = 42,
> +	.gid = GNUTLS_EXTENSION_EARLY_DATA,
> +	.validity = GNUTLS_EXT_FLAG_TLS | GNUTLS_EXT_FLAG_CLIENT_HELLO |
> +		    GNUTLS_EXT_FLAG_IGNORE_CLIENT_REQUEST,

Is the last flag necessary? That extension doesn't seem to be sent by the server (btw. There is a typo in the description of this flag fixed with 29062eda446e83f8e8e70e0b4c4eec81a886172b )

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


More information about the Gnutls-devel mailing list