mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Build fixed?
This commit is contained in:
parent
79aa715514
commit
e80ac120e1
|
@ -26,10 +26,6 @@
|
||||||
|
|
||||||
#include "Lossless_UDP.h"
|
#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.
|
//Our public key.
|
||||||
extern uint8_t self_public_key[crypto_box_PUBLICKEYBYTES];
|
extern uint8_t self_public_key[crypto_box_PUBLICKEYBYTES];
|
||||||
extern uint8_t self_secret_key[crypto_box_SECRETKEYBYTES];
|
extern uint8_t self_secret_key[crypto_box_SECRETKEYBYTES];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* DHT test
|
/* DHT test
|
||||||
* A file with a main that runs our DHT for testing.
|
* 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.
|
* Command line arguments are the ip, port and public key of a node.
|
||||||
* EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
* EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
|
Loading…
Reference in New Issue
Block a user