aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index d0759722e..ca7e3b3e7 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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) {