]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* testsuite/sexp-format-test.c: Include bignum.h only if HAVE_LIBGMP.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 7 Feb 2004 17:16:15 +0000 (18:16 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 7 Feb 2004 17:16:15 +0000 (18:16 +0100)
* 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

testsuite/pkcs1-test.c
testsuite/rsa-encrypt-test.c
testsuite/sexp-format-test.c

index 90e99b73291d78aa7939115b5e1b06904480fc4b..e52fc533745c6b0cc305e06ca96577710aab0828 100644 (file)
@@ -1,6 +1,8 @@
 #include "testutils.h"
 
-#include "pkcs1.h"
+#if WITH_PUBLIC_KEY
+# include "pkcs1.h"
+#endif
 
 int
 test_main(void)
index e733f79d869f5ac40fae493b1a8ac3491acc2e56..08cff25e0cd0a47461ae66a387fb9f30028e1e07 100644 (file)
@@ -1,6 +1,9 @@
 #include "testutils.h"
 
-#include "rsa.h"
+#if WITH_PUBLIC_KEY
+# include "rsa.h"
+#endif
+
 #include "knuth-lfib.h"
 
 int
index 2d8457b1a8a5fdd1d0093b4b951fbf3ffcccd6cc..33c585f41d216c75b438051095146dcf3aea5949 100644 (file)
@@ -2,7 +2,10 @@
 #include "sexp.h"
 
 #include "buffer.h"
-#include "bignum.h"
+
+#if HAVE_LIBGMP
+# include "bignum.h"
+#endif
 
 int
 test_main(void)