summaryrefslogtreecommitdiff
path: root/toxcore/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/network.h')
-rw-r--r--toxcore/network.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index 21e225a0..d19f144c 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -97,19 +97,6 @@ typedef int sock_t;
97#endif 97#endif
98#endif 98#endif
99 99
100#ifndef VANILLA_NACL
101/* We use libsodium by default. */
102#include <sodium.h>
103#else
104#include <crypto_box.h>
105#include <randombytes.h>
106#include <crypto_hash_sha256.h>
107#include <crypto_hash_sha512.h>
108#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
109#endif
110
111#define crypto_box_KEYBYTES (crypto_box_BEFORENMBYTES)
112
113#ifndef IPV6_ADD_MEMBERSHIP 100#ifndef IPV6_ADD_MEMBERSHIP
114#ifdef IPV6_JOIN_GROUP 101#ifdef IPV6_JOIN_GROUP
115#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP 102#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP