diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-08 00:52:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-03 11:29:48 -0500 |
commit | c46ff3ec79420a6d94207cbe0d4e4d08208ccc4c (patch) | |
tree | af359a09798445e200e437fe9564e75deee8dc2b /src/test/include.am | |
parent | 839016ac791de98c02ad7eab50092deedde0ad55 (diff) | |
download | tor-c46ff3ec79420a6d94207cbe0d4e4d08208ccc4c.tar.gz tor-c46ff3ec79420a6d94207cbe0d4e4d08208ccc4c.zip |
Add reference implementation for ntor, plus compatibility test
Before I started coding ntor in C, I did another one in Python.
Turns out, they interoperate just fine.
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am index e4f2897cde..f625ab7f7d 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -53,3 +53,16 @@ src_test_bench_LDADD = src/or/libtor.a src/common/libor.a \ noinst_HEADERS+= \ src/test/test.h +if CURVE25519_ENABLED +noinst_PROGRAMS+= src/test/test-ntor-cl +src_test_test_ntor_cl_SOURCES = src/test/test_ntor_cl.c +src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ +src_test_test_ntor_cl_LDADD = src/or/libtor.a src/common/libor.a \ + src/common/libor-crypto.a $(LIBDONNA) \ + @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ + @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@ +src_test_test_ntor_cl_AM_CPPFLAGS = \ + -I"$(top_srcdir)/src/or" + +endif + |