Only use evutil_secure_rng_add_bytes() when present.

OpenBSD removes this function, and now that Tor requires Libevent 2,
we should also support the OpenBSD Libevent 2.

Fixes bug 19904; bugfix on 0.2.5.4-alpha.
This commit is contained in:
Nick Mathewson
2016-08-11 20:37:18 -04:00
parent 60997a00e8
commit e788c577f1
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (compilation):
- Build correctly on versions of libevent2 without support
for evutil_secure_rng_add_bytes(). Fixes bug 19904;
bugfix on 0.2.5.4-alpha.