[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:43:55 CET 2021
Alexander Sosedkin commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1427#note_745245648
> 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 &&
Yeah, I've overlooked that we're comparing inline and calculated the length beforehand, so we don't want it included in the comparison. Sorry for the noise.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1427#note_745245648
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/7f3f5731/attachment.html>
More information about the Gnutls-devel
mailing list