Fix assert for relay/bridge state change
commit908289894419b8fa331197948cb048f08ff5d035
authorSebastian Hahn <sebastian@torproject.org>
Tue, 25 Jan 2011 14:28:58 +0000 (25 15:28 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 26 Oct 2011 20:09:44 +0000 (26 22:09 +0200)
tree805f92941f2308ac1668cfe97a936948879191c7
parentd0a91386e5b85c5a0db3981a294c7a75192f9c3a
Fix assert for relay/bridge state change

When we added support for separate client tls certs on bridges in
a2bb0bfdd5 we forgot to correctly initialize this when changing
from relay to bridge or vice versa while Tor is running. Fix that
by always initializing keys when the state changes.

Fixes bug 2433.

Conflicts:

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