Now that OpenSSL 0.9.8 is dead, crypto_seed_rng() needs no args

It needed an argument before because it wasn't safe to call
RAND_poll() on openssl 0.9.8c if you had already opened more fds
than would fit in fd_set.
This commit is contained in:
Nick Mathewson
2015-05-19 16:17:03 -04:00
parent 971f0f8e18
commit f8f407d66a
8 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ main(int argc, char **argv)
init_logging(1);
crypto_global_init(1, NULL, NULL);
crypto_seed_rng(1);
crypto_seed_rng();
rq = replyqueue_new(as_flags);
tor_assert(rq);