mirror of
https://github.com/libevent/libevent.git
synced 2025-01-20 05:02:55 +08:00
d4de062efc
Previously, evdns was at the mercy of the user for providing a good entropy source; without one, it would be vulnerable to various active attacks. This patch adds a port of OpenBSD's arc4random() calls to Libevent [port by Chris Davis], and wraps it up a little bit so we can use it more safely.