]> git.ipfire.org Git - thirdparty/tor.git/commit
Reinit keys at the start of options_act().
authorNick Mathewson <nickm@torproject.org>
Mon, 23 May 2011 20:38:35 +0000 (16:38 -0400)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 26 Oct 2011 20:09:44 +0000 (22:09 +0200)
commit55d9e4b8bad18a99d51b0b6347cef46e730dceda
tree136ca72592497451cd5eee2d2fcac1fa7819e08b
parent62c29a93ba78ad6ae91b87755ed8cc0283d27e56
Reinit keys at the start of options_act().

Previously we did this nearer to the end (in the old_options &&
transition_affects_workers() block).  But other stuff cares about
keys being consistent with options... particularly anything which
tries to access a key, which can die in assert_identity_keys_ok().

Fixes bug 3228; bugfix on 0.2.2.18-alpha.

Conflicts:

src/or/config.c
changes/bug3228 [new file with mode: 0644]
src/or/config.c