summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-03 12:55:11 +0800
committerfanquake <fanquake@gmail.com>2021-04-03 12:55:11 +0800
commit39d680534ac38650e4a59b1287b74115a92b1232 (patch)
tree1cd7556d96042c900bf1a57ba0cdbdf00f77552f /include
parentd433f847334fff9da8e13e2dc7fdf5c0997b20b0 (diff)
downloadlibevent-39d680534ac38650e4a59b1287b74115a92b1232.tar.gz
dns: remove evdns_set_random_bytes_fn
Diffstat (limited to 'include')
-rw-r--r--include/event2/dns.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/event2/dns.h b/include/event2/dns.h
index 8bed3f9f..b093554b 100644
--- a/include/event2/dns.h
+++ b/include/event2/dns.h
@@ -615,18 +615,6 @@ void evdns_set_log_fn(evdns_debug_log_fn_type fn);
EVENT2_EXPORT_SYMBOL
void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void));
-/**
- Set a callback used to generate random bytes. By default, we use
- the same function as passed to evdns_set_transaction_id_fn to generate
- bytes two at a time. If a function is provided here, it's also used
- to generate transaction IDs.
-
- NOTE: This function has no effect in Libevent 2.0.4-alpha and later,
- since Libevent now provides its own secure RNG.
-*/
-EVENT2_EXPORT_SYMBOL
-void evdns_set_random_bytes_fn(void (*fn)(char *, size_t));
-
/*
* Functions used to implement a DNS server.
*/