[gnutls-devel] GnuTLS | added clientHello extension permutation (!1737)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sat Apr 1 09:27:26 CEST 2023




Daiki Ueno commented on a discussion on lib/hello_ext.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1737#note_1337654613

>  			     ret - 4);
>  	}
>  
> +	/* To shuffle extension sending order */
> +	uint8_t shuffled_n[MAX_EXT_TYPES];
> +	ret = shuffle_arr(shuffled_n, MAX_EXT_TYPES);
> +	if (ret < 0)
> +		return gnutls_assert_val(ret);
> +
> +	/* oderdering dumbfw and pre_shared_key as last extensions */

That's a good point; we allocate `extfuncs` more than `GNUTLS_EXTENSION_MAX` as we support sending custom extensions through `gnutls_ext_register`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1737#note_1337654613
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/20230401/44570985/attachment.html>


More information about the Gnutls-devel mailing list