aboutsummaryrefslogtreecommitdiff
path: root/src/app/main
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-02-20 12:21:23 -0500
committerNick Mathewson <nickm@torproject.org>2019-02-20 12:24:34 -0500
commitb3416476b487304426296173dd177e1277388e48 (patch)
tree4f3313caacd7fe6ec0e46e2222eace7c57df78c9 /src/app/main
parent97b9dfe3052f1fe3b14f47fc1326e235f96305b7 (diff)
downloadtor-b3416476b487304426296173dd177e1277388e48.tar.gz
tor-b3416476b487304426296173dd177e1277388e48.zip
Remove all uses of weak_rng.
I'm not removing the weak_rng code itself yet, since it is possible that we will want to revert one of these.
Diffstat (limited to 'src/app/main')
-rw-r--r--src/app/main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index 0ffc27d456..ec15109f6c 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -669,7 +669,7 @@ tor_init(int argc, char *argv[])
log_err(LD_BUG, "Unable to initialize OpenSSL. Exiting.");
return -1;
}
- stream_choice_seed_weak_rng();
+
if (tor_init_libevent_rng() < 0) {
log_warn(LD_NET, "Problem initializing libevent RNG.");
}