aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2016-07-04 09:57:36 +0200
committerSebastian Hahn <sebastian@torproject.org>2016-07-04 12:26:14 +0200
commitec6ea66240df36d2a6bb6d4fd0df6f4c2cdb3191 (patch)
tree26d1b116eb014f46af575435080c67c8aadc0a9e /src/common/compat_libevent.c
parent0d6f3d647d86f3292bff5cd55356e90ca8009c7a (diff)
downloadtor-ec6ea66240df36d2a6bb6d4fd0df6f4c2cdb3191.tar.gz
tor-ec6ea66240df36d2a6bb6d4fd0df6f4c2cdb3191.zip
Remove two wrong comments
Diffstat (limited to 'src/common/compat_libevent.c')
-rw-r--r--src/common/compat_libevent.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c
index 4469f15ac7..e1b03100c5 100644
--- a/src/common/compat_libevent.c
+++ b/src/common/compat_libevent.c
@@ -234,8 +234,6 @@ tor_libevent_initialize(tor_libevent_cfg *torcfg)
/* LCOV_EXCL_STOP */
}
- /* Making this a NOTICE for now so we can link bugs to a libevent versions
- * or methods better. */
log_info(LD_GENERAL,
"Initialized libevent version %s using method %s. Good.",
event_get_version(), tor_libevent_get_method());
@@ -546,7 +544,6 @@ tor_init_libevent_rng(void)
if (evutil_secure_rng_init() < 0) {
rv = -1;
}
- /* Older libevent -- manually initialize the RNG */
crypto_rand(buf, 32);
evutil_secure_rng_add_bytes(buf, 32);
evutil_secure_rng_get_bytes(buf, sizeof(buf));