From e80ac120e1f5b53e3ac4d337628838a4ea58adc3 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 12 Jul 2013 16:35:45 -0400 Subject: Build fixed? --- core/net_crypto.h | 4 ---- testing/DHT_test.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/core/net_crypto.h b/core/net_crypto.h index 4c3b53de..2476db10 100644 --- a/core/net_crypto.h +++ b/core/net_crypto.h @@ -26,10 +26,6 @@ #include "Lossless_UDP.h" -//TODO: move this to network.h -#ifndef WIN32 -#include "../nacl/build/Linux/include/amd64/crypto_box.h" //${HOSTNAME%.*} doesn't work... set env var later -#endif //Our public key. extern uint8_t self_public_key[crypto_box_PUBLICKEYBYTES]; extern uint8_t self_secret_key[crypto_box_SECRETKEYBYTES]; diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 083e4d4b..086cd554 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c @@ -1,7 +1,7 @@ /* DHT test * A file with a main that runs our DHT for testing. * - * Compile with: gcc -O2 -Wall -o test ../core/network.c DHT_test.c + * Compile with: gcc -O2 -Wall -D VANILLA_NACL -o test ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/* DHT_test.c * * Command line arguments are the ip, port and public key of a node. * EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- cgit v1.2.3