[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:36:17 CET 2020




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

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

You can use `gnutls_strdup()` instead.

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


More information about the Gnutls-devel mailing list