[gnutls-devel] GnuTLS | priority: support allowlisting in configuration file (!1427)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Nov 26 18:16:10 CET 2021




Daiki Ueno commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1427#note_745218573

>  					  gnutls_strerror(ret));
>  			break;
>  		}
> -
> -		p = _name_val_array_value(system_wide_config.priority_strings,
> -					  ss, ss_len);
> +		if (system_wide_config.allowlisting &&
> +		    ss_len == sizeof(LEVEL_SYSTEM) - 1 &&

I think this is to exclude NUL byte at the end of `LEVEL_SYSTEM`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1427#note_745218573
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/20211126/612845ac/attachment-0001.html>


More information about the Gnutls-devel mailing list