summaryrefslogtreecommitdiff
path: root/toxcore/onion.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion.h')
-rw-r--r--toxcore/onion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/onion.h b/toxcore/onion.h
index b46dbdfe..a52bcb86 100644
--- a/toxcore/onion.h
+++ b/toxcore/onion.h
@@ -29,6 +29,7 @@ typedef struct {
29 DHT *dht; 29 DHT *dht;
30 Networking_Core *net; 30 Networking_Core *net;
31 uint8_t secret_symmetric_key[crypto_secretbox_KEYBYTES]; 31 uint8_t secret_symmetric_key[crypto_secretbox_KEYBYTES];
32 uint64_t timestamp;
32} Onion; 33} Onion;
33 34
34#define ONION_RETURN_1 (crypto_secretbox_NONCEBYTES + sizeof(IP_Port) + crypto_secretbox_MACBYTES) 35#define ONION_RETURN_1 (crypto_secretbox_NONCEBYTES + sizeof(IP_Port) + crypto_secretbox_MACBYTES)