[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:10:23 CET 2020




Dimitri John Ledkov started a new discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/merge_requests/1158#note_268378545

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

Not sure if this is a correct use of `gnutls_free` or if `free` should be used. Allocated with `strdup()`.
Also, I wonder if there is some kind of a maximum length priority string, to statically allocate this. But maybe not (or like too large).

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


More information about the Gnutls-devel mailing list