summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-24 01:50:25 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-10-24 01:50:25 +0200
commitecb1f1e92ab449023d1427f9db26c5bac09c4901 (patch)
tree5af48da0cac32e2927aa5e2946c9f08173fedb69 /trackerlogic.h
parente4b6decf72a91453bc8d31b4b15e7aed923c56d2 (diff)
Use new entropy fascility and add tests for it
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 88d9a11..aa10a54 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -12,13 +12,6 @@
12#include <sys/types.h> 12#include <sys/types.h>
13#include <time.h> 13#include <time.h>
14 14
15#if defined(__linux__) && defined(WANT_ARC4RANDOM)
16#include <bsd/stdlib.h>
17#endif
18#ifdef __FreeBSD__
19#define WANT_ARC4RANDOM
20#endif
21
22typedef uint8_t ot_hash[20]; 15typedef uint8_t ot_hash[20];
23typedef time_t ot_time; 16typedef time_t ot_time;
24typedef char ot_ip6[16]; 17typedef char ot_ip6[16];