[gnutls-devel] GnuTLS | mp_set_memory_functions (#1367)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue May 17 08:53:17 CEST 2022
Jeremy Whiting created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1367
gnutls 3.7.5 causes alkimia unit tests to fail (Alkimia is here: https://invent.kde.org/office/alkimia ) because alkimia uses gmp, and gnutls 3.7.5 sets the realloc and free via mp_set_memory_functions, but doesn't set an alloc function.
So __gmp_default_alloc is used for alloc, but gnutls_free_zero is used for free operations.
If what's needed is to have a gnutls_alloc function I can take a stab at adding one tomorrow and will put up an MR after testing, etc.
Author: Tobias Heider <tobias.heider at canonical.com>
Date: Mon Mar 14 16:17:28 2022 +0100
Use custom allocators for GMP to make sure temporary secrets
from cryptographic operations in nettle are deleted safely.
Signed-off-by: Tobias Heider <tobias.heider at canonical.com>
is the commit that breaks things btw.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1367
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel