[gnutls-devel] GnuTLS | libgnutls: Add system-wide default-priority-string override. (!1158)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jan 8 02:16:21 CET 2020

Dimitri John Ledkov commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/merge_requests/1158#note_268379235

>  #define OVERRIDES_SECTION "overrides"
>  #define MAX_ALGO_NAME 128
> +static void _clear_default_system_priority(void)
> +{
> +        if (system_wide_default_priority_string) {
> +                gnutls_free(_gnutls_default_priority_string);

Oh, there is MAX_ALGO_NAME, just there.... I guess 128 would be the longest priority string one can specify as an override. A bit restrictive, but should be enough to do something sensible, and then like use disable-* things to tweak it further.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1158#note_268379235
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/20200108/4a7d9f84/attachment.html>

More information about the Gnutls-devel mailing list