diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-05-10 13:07:24 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-10-20 17:35:52 +0000 |
commit | 5a043825d0b208343da4864ec9e071118b83cd06 (patch) | |
tree | 705441327fe689a8b1ae23f0e4eede1a47a0dbe6 | |
parent | db112329a0358a8e9138c782ee48c5e3f3d1f35d (diff) | |
download | tor-5a043825d0b208343da4864ec9e071118b83cd06.tar.gz tor-5a043825d0b208343da4864ec9e071118b83cd06.zip |
Remove unused function: dns_randfn_() in dns.c.
This patch unbreaks the current build after tor!369 landed.
See: https://bugs.torproject.org/tpo/core/tor/40371
-rw-r--r-- | src/feature/relay/dns.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c index 075d7d7063..49ed8bd790 100644 --- a/src/feature/relay/dns.c +++ b/src/feature/relay/dns.c @@ -211,14 +211,6 @@ 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) |