James Ralston qralston+ml.nettle-bugs@andrew.cmu.edu writes:
I'm not what type of fix to suggest--multiple files break if GMP and/or public key support isn't available...
I've now checked in the following changes,
2002-12-30 Niels Möller nisse@cuckoo.hack.org
* testsuite/rsa2sexp-test.c: Don't include rsa.h (done by testutils.h, if enabled). * testsuite/sexp2rsa-test.c: Likewise.
* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY. * rsa-encrypt.c: Likewise. * rsa-compat.c: Likewise.
Please try the cvs version and see if it works better. (For now, I've only tried with --disable-public-key, and checking that no files try including rsa.h or dsa.h. I haven't actually tried uninstalling gmp).
Thanks for the report, and a happy new year, /Niels