[tor-commits] [tor/master] Comment only: crypto_seed_rng no longer has a "startup" parameter

nickm at torproject.org nickm at torproject.org
Wed Nov 25 14:08:23 UTC 2015


commit 604d3ee48d5a407e525045138d45d40943b0eff6
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Mon Nov 23 10:26:07 2015 +1100

    Comment only: crypto_seed_rng no longer has a "startup" parameter
---
 src/common/crypto.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/common/crypto.c b/src/common/crypto.c
index 7b38568..f5f9bbe 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2335,8 +2335,7 @@ crypto_strongest_rand(uint8_t *out, size_t out_len)
 }
 
 /** Seed OpenSSL's random number generator with bytes from the operating
- * system.  <b>startup</b> should be true iff we have just started Tor and
- * have not yet allocated a bunch of fds.  Return 0 on success, -1 on failure.
+ * system.  Return 0 on success, -1 on failure.
  */
 int
 crypto_seed_rng(void)





More information about the tor-commits mailing list