diff options
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index 98307e5b..e1f9b212 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -57,6 +57,7 @@ | |||
57 | #include <sodium.h> | 57 | #include <sodium.h> |
58 | #else | 58 | #else |
59 | #include <crypto_box.h> | 59 | #include <crypto_box.h> |
60 | #include <randombytes.h> | ||
60 | #define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES) | 61 | #define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES) |
61 | #endif | 62 | #endif |
62 | 63 | ||
@@ -130,7 +131,6 @@ typedef struct { | |||
130 | uint64_t current_time(void); | 131 | uint64_t current_time(void); |
131 | 132 | ||
132 | /* return a random number. | 133 | /* return a random number. |
133 | * NOTE: this function should probably not be used where cryptographic randomness is absolutely necessary. | ||
134 | */ | 134 | */ |
135 | uint32_t random_int(void); | 135 | uint32_t random_int(void); |
136 | 136 | ||