GnuTLS | Support building with Nettle 4.0 (#1791)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>

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.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.