diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-10-20 17:36:06 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-10-20 17:36:06 +0000 |
commit | fdc7549b61443a1ffd723c5a497b9c96c78d4a1a (patch) | |
tree | cf6ba01094b34f4e708e2f57853bf8de535641f5 /src/feature/relay | |
parent | d949a2f924bfabd4aacf48e884d99cd6a8db61ef (diff) | |
parent | 5a043825d0b208343da4864ec9e071118b83cd06 (diff) | |
download | tor-fdc7549b61443a1ffd723c5a497b9c96c78d4a1a.tar.gz tor-fdc7549b61443a1ffd723c5a497b9c96c78d4a1a.zip |
Merge branch 'maint-0.3.5' into maint-0.4.5
Diffstat (limited to 'src/feature/relay')
-rw-r--r-- | src/feature/relay/dns.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c index 3d9e50524f..71c6f56fb1 100644 --- a/src/feature/relay/dns.c +++ b/src/feature/relay/dns.c @@ -211,20 +211,11 @@ evdns_log_cb(int warn, const char *msg) tor_log(severity, LD_EXIT, "eventdns: %s", msg); } -/** Helper: passed to eventdns.c as a callback so it can generate random - * numbers for transaction IDs and 0x20-hack coding. */ -static void -dns_randfn_(char *b, size_t n) -{ - crypto_rand(b,n); -} - /** Initialize the DNS subsystem; called by the OR process. */ int dns_init(void) { init_cache_map(); - evdns_set_random_bytes_fn(dns_randfn_); if (server_mode(get_options())) { int r = configure_nameservers(1); return r; |