aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-04-16 17:26:59 -0400
committerNick Mathewson <nickm@torproject.org>2021-04-16 17:26:59 -0400
commitf20f5a4e376d254e069fed66a321bc9cdd537096 (patch)
treed5b2f6ad9be395bf95400247a7e81aaf3f380d78 /src
parent131e2d99a45bd86b8379664cccb59bfc66f80c96 (diff)
downloadtor-f20f5a4e376d254e069fed66a321bc9cdd537096.tar.gz
tor-f20f5a4e376d254e069fed66a321bc9cdd537096.zip
Stop calling evdns_set_random_bytes_fn()
This function has been a no-op since Libevent 2.0.4-alpha, when libevent got an arc4random() implementation. Libevent has finally removed it, which will break our compilation unless we stop calling it. (This is currently breaking compilation in OSS-fuzz.) Closes #40371.
Diffstat (limited to 'src')
-rw-r--r--src/feature/relay/dns.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/feature/relay/dns.c b/src/feature/relay/dns.c
index e20a39482f..075d7d7063 100644
--- a/src/feature/relay/dns.c
+++ b/src/feature/relay/dns.c
@@ -224,7 +224,6 @@ 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;