David Michael <fedora....@gmail.com> writes: > I tried to update the Nettle DSA function calls so LSH can be built with > Nettle 3. The main issue seemed to be that DSA's x and y variables were > removed from structs and use mpz_t types now.
I ought to update lsh for nettle-3, but I haven't gotten around to that yet. You may want to have a look at the corresponding debian patch, https://sources.debian.net/src/lsh-utils/2.1-7/debian/patches/nettle3.patch/ For the DSA changes, one alternative is to include <nettle/dsa-compat.h>. > The following patch against the master branch just switches to the new > API and requires Nettle 3 (as did e.g. GnuTLS) instead of trying to keep > compatiblity with both APIs. I agree it's probably not worth the effort to support both nettle-3.1 and older versions. (And I don't think supporting nettle-3.0 is very important either, so go for nettle-3.1). Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ lsh-bugs mailing list lsh-bugs@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs