aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-06-13 21:13:37 +0000
committerNick Mathewson <nickm@torproject.org>2003-06-13 21:13:37 +0000
commitd21c0feb5ac510831d98bfbaa704c525bacea6bd (patch)
tree7f572176715e27a127f03052c2e30d80f06831f9 /src/or/main.c
parent33eeccd0a42ce5cd2ce492bc717d74e5e5ee916e (diff)
downloadtor-d21c0feb5ac510831d98bfbaa704c525bacea6bd.tar
tor-d21c0feb5ac510831d98bfbaa704c525bacea6bd.tar.gz
Add RNG seeding
svn:r318
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4171186e3..99d827675 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -799,6 +799,7 @@ int tor_main(int argc, char *argv[]) {
signal (SIGHUP, catch); /* to reload directory */
crypto_global_init();
+ crypto_seed_rng();
retval = do_main_loop();
crypto_global_cleanup();