supporting /dev/urandom instead of /dev/random

This commit is contained in:
Cristian Toader 2013-08-29 15:22:14 +03:00
parent ce04d2a622
commit b1f7105506

View File

@ -2789,7 +2789,7 @@ tor_main(int argc, char *argv[])
// registering libevent rng
evutil_secure_rng_set_urandom_device_file(
(char*) sandbox_intern_string("/dev/random"));
(char*) sandbox_intern_string("/dev/urandom"));
}
switch (get_options()->command) {