[gnutls-devel] GnuTLS | Support building with Nettle 4.0 (#1791)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Jan 29 09:39:08 CET 2026



Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1791



Now that Nettle 4.0-rc1 has been [released](https://marc.info/?l=nettle-bugs&m=176961924602323&w=2), we should make GnuTLS build with that version. A tricky thing is that Nettle 4.0 introduces backward incompatible API changes, mainly omitting the output length argument from the hash functions. As we are still keeping compatibility with Nettle 3.6+ on the GnuTLS 3.8.x branch, I'd suggest the following approaches:
- First try porting to Nettle 4 API only
- Build with Nettle 3.6+, add compatibility definitions (or helper functions) as needed, in a revertible way
- Update the bundled copy of Nettle source to Nettle 4.0-rc1

Alternatively we can jump to GnuTLS 4.0 as well and drop support for Nettle 3.6, but in that case I guess we need more discussion, which other backward incompatible changes we want to pick.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1791
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/20260129/302388e1/attachment.html>


More information about the Gnutls-devel mailing list