Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5

This commit is contained in:
Alexander Færøy 2021-10-20 17:35:35 +00:00
commit db112329a0
2 changed files with 6 additions and 1 deletions

6
changes/bug40371 Normal file
View File

@ -0,0 +1,6 @@
o Minor bugfixes (compatibility):
- Fix compatibility with the most recent Libevent versions, which
no longer have an evdns_set_random_bytes() function. Because
this function has been a no-op since Libevent 2.0.4-alpha,
it is safe for us to just stop calling it. Fixes bug 40371;
bugfix on 0.2.1.7-alpha.

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;