summaryrefslogtreecommitdiff
path: root/testsuite/sexp-format-test.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2004-02-07 18:16:15 +0100
committerNiels Möller <nisse@lysator.liu.se>2004-02-07 18:16:15 +0100
commita1b29b87cb53da76a53b8d07573ee24358813809 (patch)
tree7c62da6ef6309e06eecd22b3733e635bb6dd97a4 /testsuite/sexp-format-test.c
parentae15d22ab59c8d01b7934d49d7cd40c7f76ca86a (diff)
downloadnettle-a1b29b87cb53da76a53b8d07573ee24358813809.tar.gz
* testsuite/sexp-format-test.c: Include bignum.h only if HAVE_LIBGMP.
* testsuite/rsa-encrypt-test.c: Include rsa.h only if WITH_PUBLIC_KEY. * testsuite/pkcs1-test.c: Include pkcs1.h only if WITH_PUBLIC_KEY. Rev: src/nettle/testsuite/pkcs1-test.c:1.2 Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.4 Rev: src/nettle/testsuite/sexp-format-test.c:1.8
Diffstat (limited to 'testsuite/sexp-format-test.c')
-rw-r--r--testsuite/sexp-format-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/sexp-format-test.c b/testsuite/sexp-format-test.c
index 2d8457b1..33c585f4 100644
--- a/testsuite/sexp-format-test.c
+++ b/testsuite/sexp-format-test.c
@@ -2,7 +2,10 @@
#include "sexp.h"
#include "buffer.h"
-#include "bignum.h"
+
+#if HAVE_LIBGMP
+# include "bignum.h"
+#endif
int
test_main(void)