aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-08-29 15:22:14 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-08-29 15:22:14 +0300
commitb1f7105506ca496a29fb4cdfd6f7f1a876a1e47b (patch)
tree525982ea5b350777dc9b834d1e33ac5ad8e6339b /src/or
parentce04d2a6220c00497a60d38b3a96385226d94866 (diff)
downloadtor-b1f7105506ca496a29fb4cdfd6f7f1a876a1e47b.tar
tor-b1f7105506ca496a29fb4cdfd6f7f1a876a1e47b.tar.gz
supporting /dev/urandom instead of /dev/random
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) {