]> git.ipfire.org Git - thirdparty/tor.git/commit
Make sure that even in the weird fiddly paths that lead to init_keys,
authorNick Mathewson <nickm@torproject.org>
Wed, 21 Jan 2009 15:38:39 +0000 (15:38 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 Jan 2009 15:38:39 +0000 (15:38 +0000)
commit8ebceeb352113839467b7bf26e4d910c1f31308e
treed4f652ce727802d1b63b54b3fdcc8bed3bcff64b
parentbf2b71beb86804acc16f98b8a10ffbb9544ff758
Make sure that even in the weird fiddly paths that lead to init_keys,
crypto_global_init gets called.  Also have it be crypto_global_init
that calls crypto_seed_rng, so we are not dependent on OpenSSL's
RAND_poll in these fiddly cases.

Should fix bug 907.  Bugfix on 0.0.9pre6.  Backport candidate.

svn:r18210
ChangeLog
src/common/crypto.c
src/or/main.c
src/or/router.c