[tor-commits] [tor/master] supporting /dev/urandom instead of /dev/random

nickm at torproject.org nickm at torproject.org
Fri Sep 13 16:31:56 UTC 2013


commit b1f7105506ca496a29fb4cdfd6f7f1a876a1e47b
Author: Cristian Toader <cristian.matei.toader at gmail.com>
Date:   Thu Aug 29 15:22:14 2013 +0300

    supporting /dev/urandom instead of /dev/random
---
 src/or/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/main.c b/src/or/main.c
index d075972..ca7e3b3 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) {





More information about the tor-commits mailing list