[gnutls-devel] GnuTLS | When negotiating TLS1.3 enforce certificate key usage (!902)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Feb 5 15:55:23 CET 2019


Tim Rühsen started a new discussion on lib/auth/cert.c:

>  	 * length = 3 bytes and
>  	 * certificate = length bytes.
>  	 */
> -	ret = _gnutls_buffer_append_data_prefix(data, 24,
> -					apr_cert_list[0].cert.data,
> -					apr_cert_list[0].cert.size);
> +
> +	if (apr_cert_list_length == 0) {
> +		ret = _gnutls_buffer_append_prefix(data, 24, 0);

This '24' is not understandable from the near context. Comment, or even better is a good-named #define.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/902#note_138459461
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/20190205/584d76da/attachment.html>


More information about the Gnutls-devel mailing list