diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-10-20 17:35:35 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-10-20 17:35:35 +0000 |
commit | db112329a0358a8e9138c782ee48c5e3f3d1f35d (patch) | |
tree | 6ebc6acb466fc6644e89fe6bb03ca2c98752294e | |
parent | 44e105c27f9ff7ce1fb62b09bac30679382c8d67 (diff) | |
parent | f20f5a4e376d254e069fed66a321bc9cdd537096 (diff) | |
download | tor-db112329a0358a8e9138c782ee48c5e3f3d1f35d.tar.gz tor-db112329a0358a8e9138c782ee48c5e3f3d1f35d.zip |
Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5
-rw-r--r-- | changes/bug40371 | 6 | ||||
-rw-r--r-- | src/feature/relay/dns.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/changes/bug40371 b/changes/bug40371 new file mode 100644 index 0000000000..8cc7117f9f --- /dev/null +++ b/changes/bug40371 @@ -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. 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; |