summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-03-23 23:21:35 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-03-25 10:47:13 +0100
commit25b7b5cc7b00888111f3306eb1b914e69c691b35 (patch)
tree7784a84add1edcb7182a5534c0e7b5b9f4da6f85
parentc329ff85152b3dcf03aee9534b45fc74a06bb647 (diff)
downloadnettle-25b7b5cc7b00888111f3306eb1b914e69c691b35.tar.gz
Use local paths for including headers in examples and tests
This makes sure a plain "make" succeeds without doing "make install".
-rw-r--r--examples/hogweed-benchmark.c10
-rw-r--r--testsuite/ecdsa-keygen-test.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/hogweed-benchmark.c b/examples/hogweed-benchmark.c
index 6a7da964..f6ceda90 100644
--- a/examples/hogweed-benchmark.c
+++ b/examples/hogweed-benchmark.c
@@ -34,12 +34,12 @@
#include <time.h>
-#include <nettle/dsa.h>
-#include <nettle/rsa.h>
+#include "dsa.h"
+#include "rsa.h"
-#include <nettle/nettle-meta.h>
-#include <nettle/sexp.h>
-#include <nettle/knuth-lfib.h>
+#include "nettle-meta.h"
+#include "sexp.h"
+#include "knuth-lfib.h"
#include "../ecdsa.h"
#include "../ecc-internal.h"
diff --git a/testsuite/ecdsa-keygen-test.c b/testsuite/ecdsa-keygen-test.c
index 4f46d0d4..7c25421a 100644
--- a/testsuite/ecdsa-keygen-test.c
+++ b/testsuite/ecdsa-keygen-test.c
@@ -1,5 +1,5 @@
#include "testutils.h"
-#include <nettle/knuth-lfib.h>
+#include "knuth-lfib.h"
/* Check if y^2 = x^3 - 3x + b */
static int