[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b1f7105506ca496a29fb4cdfd6f7f1a876a1e47b
Author: Cristian Toader <cristian.matei.toader@xxxxxxxxx>
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) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits