From d6a9ce3175bc80f1b04694b3c1415807a1fbab18 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sat, 14 Jun 2014 11:31:56 -0400 Subject: Fixed some issues in toxdns and added a test. Added request_id. request_id must be obtained with tox_generate_dns3_string, stored, then passed to tox_decrypt_dns3_TXT when we want to decrypt the received response. --- testing/Makefile.inc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'testing/Makefile.inc') diff --git a/testing/Makefile.inc b/testing/Makefile.inc index 2142b4ca..d29c5d55 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc @@ -24,7 +24,8 @@ if BUILD_TESTING noinst_PROGRAMS += DHT_test \ Messenger_test \ - crypto_speed_test + crypto_speed_test \ + dns3_test DHT_test_SOURCES = ../testing/DHT_test.c @@ -71,6 +72,24 @@ crypto_speed_test_LDADD = \ $(NACL_LIBS) \ $(WINSOCK2_LIBS) + +dns3_test_SOURCES = \ + ../testing/dns3_test.c + +dns3_test_CFLAGS = \ + $(LIBSODIUM_CFLAGS) \ + $(NACL_CFLAGS) + +dns3_test_LDADD = \ + $(LIBSODIUM_LDFLAGS) \ + $(NACL_LDFLAGS) \ + libtoxdns.la \ + libtoxcore.la \ + $(LIBSODIUM_LIBS) \ + $(NACL_OBJECTS) \ + $(NACL_LIBS) \ + $(WINSOCK2_LIBS) + if !WIN32 noinst_PROGRAMS += tox_sync -- cgit v1.2.3