diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-09 15:29:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-09 15:29:19 -0400 |
commit | 4e00625bbe030f5c1ae54fb7c4c07dd061ab8644 (patch) | |
tree | 0a3155fdcafccc52b1c54ca11949cec0b012614f /src/or | |
parent | 05f8429a280f80c94fa7c01f6a5c4b654cd02286 (diff) | |
download | tor-4e00625bbe030f5c1ae54fb7c4c07dd061ab8644.tar tor-4e00625bbe030f5c1ae54fb7c4c07dd061ab8644.tar.gz |
Build correctly with older libevents
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 18e8bc44a..01f6b5c75 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2804,8 +2804,10 @@ tor_main(int argc, char *argv[]) } // registering libevent rng +#ifdef HAVE_EVUTIL_SECURE_RNG_SET_URANDOM_DEVICE_FILE evutil_secure_rng_set_urandom_device_file( (char*) sandbox_intern_string("/dev/urandom")); +#endif } switch (get_options()->command) { |