[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 13:33:48 CET 2020




Nikos Mavrogiannopoulos commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/merge_requests/1158#note_268600620

>  #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);

Unfortunately priority strings can get quite long when a specific option is required (e.g., when starting with `NONE`). I think leaving it to use allocated memory is fine.

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


More information about the Gnutls-devel mailing list