only mess with 'state' in init_keys if we're planning to actually
commit41f3d0eb272aefa1dd583946b62f085cdf9a7b57
authorRoger Dingledine <arma@torproject.org>
Fri, 21 Sep 2007 21:52:31 +0000 (21 21:52 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 21 Sep 2007 21:52:31 +0000 (21 21:52 +0000)
treeee7f91141c57c11ec5ca5a0b5f25a7cc9189fc7e
parent6786ebf4f9c42c619bd18da0ebbcff56369dcc47
only mess with 'state' in init_keys if we're planning to actually
run tor. this resolves a segfault in 'tor --list-fingerprints'
introduced by r11437.

backport candidate due to r11438.

svn:r11566
src/or/router.c