mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
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
This commit is contained in:
parent
a56ed0cfa4
commit
9d59d82d40
1 changed files with 0 additions and 8 deletions
|
@ -212,14 +212,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)
|
||||
|
|
Loading…
Add table
Reference in a new issue