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.
This commit is contained in:
Nick Mathewson
2021-04-16 17:26:59 -04:00
parent 131e2d99a4
commit f20f5a4e37
2 changed files with 6 additions and 1 deletions
-1
View File
@@ -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;