diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-21 19:18:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-21 19:18:57 +0000 |
commit | b5b77f8bf37a193f23c5b68f688f6175266a612f (patch) | |
tree | 644390476138db18724699ab2f04f9c7bbe3729b /src/common/crypto.h | |
parent | 64f38f217ae21eaa00b48749353dad62cfcb72c6 (diff) | |
download | tor-b5b77f8bf37a193f23c5b68f688f6175266a612f.tar.gz tor-b5b77f8bf37a193f23c5b68f688f6175266a612f.zip |
r19004@catbus: nickm | 2008-03-21 15:18:43 -0400
Use RAND_poll() again: the bug that made us stop using it has been fixed.
svn:r14150
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index e51c0777a9..2627335113 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -166,7 +166,7 @@ int crypto_expand_key_material(const char *key_in, size_t in_len, char *key_out, size_t key_out_len); /* random numbers */ -int crypto_seed_rng(void); +int crypto_seed_rng(int startup); int crypto_rand(char *to, size_t n); int crypto_rand_int(unsigned int max); uint64_t crypto_rand_uint64(uint64_t max); |