mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 14:43:46 +01:00
supporting /dev/urandom instead of /dev/random
This commit is contained in:
parent
ce04d2a622
commit
b1f7105506
@ -2789,7 +2789,7 @@ tor_main(int argc, char *argv[])
|
|||||||
|
|
||||||
// registering libevent rng
|
// registering libevent rng
|
||||||
evutil_secure_rng_set_urandom_device_file(
|
evutil_secure_rng_set_urandom_device_file(
|
||||||
(char*) sandbox_intern_string("/dev/random"));
|
(char*) sandbox_intern_string("/dev/urandom"));
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (get_options()->command) {
|
switch (get_options()->command) {
|
||||||
|
Loading…
Reference in New Issue
Block a user