aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-20 13:52:50 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-20 13:53:32 -0400
commita83abcf5ee5cb8fe245bc97e089e082f62921194 (patch)
tree2b3021b2a60406b711ea96a9952d812efe6d1091 /src/test
parent9077118ee27e275d495b89a810ee28882c74cf62 (diff)
downloadtor-a83abcf5ee5cb8fe245bc97e089e082f62921194.tar
tor-a83abcf5ee5cb8fe245bc97e089e082f62921194.tar.gz
Fix unittest compilation with --disable-curve25519
This is a fix for 9700, which we already fixed in 0.2.5.x, but which got left in 0.2.4.x. This is a partial backport of a0a855d586d99540277014ccd3
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 4ec879234..c2911d842 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -56,12 +56,12 @@ double fabs(double x);
#include "memarea.h"
#include "onion.h"
#include "onion_tap.h"
+#include "onion_ntor.h"
#include "policies.h"
#include "rephist.h"
#include "routerparse.h"
#ifdef CURVE25519_ENABLED
#include "crypto_curve25519.h"
-#include "onion_ntor.h"
#endif
#ifdef USE_DMALLOC