summaryrefslogtreecommitdiff
path: root/auto_tests/crypto_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/crypto_test.c')
-rw-r--r--auto_tests/crypto_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto_tests/crypto_test.c b/auto_tests/crypto_test.c
index 952b0312..2fdfb0cd 100644
--- a/auto_tests/crypto_test.c
+++ b/auto_tests/crypto_test.c
@@ -2,9 +2,8 @@
2#include "config.h" 2#include "config.h"
3#endif 3#endif
4 4
5#include "../toxcore/net_crypto.h" 5#include "check_compat.h"
6 6
7#include <check.h>
8#include <stdint.h> 7#include <stdint.h>
9#include <stdlib.h> 8#include <stdlib.h>
10#include <string.h> 9#include <string.h>
@@ -13,6 +12,8 @@
13 12
14#include "helpers.h" 13#include "helpers.h"
15 14
15#include "../toxcore/net_crypto.h"
16
16static void rand_bytes(uint8_t *b, size_t blen) 17static void rand_bytes(uint8_t *b, size_t blen)
17{ 18{
18 size_t i; 19 size_t i;