]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix an assert when disabling ORPort with accounting disabled.
authorNick Mathewson <nickm@torproject.org>
Wed, 18 Sep 2013 14:26:32 +0000 (10:26 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 18 Sep 2013 14:26:32 +0000 (10:26 -0400)
commitdece40fd7729934bc32906e94d3e5e746c01f970
treea0d1a7491e59768676b1a9107cb20c50deebe315
parentb46353b7931235da3ecaec0723060501042d6ef4
Fix an assert when disabling ORPort with accounting disabled.

The problem was that the server_identity_key_is_set() function could
return true under conditions where we don't really have an identity
key -- specifically, where we used to have one, but we stopped being a
server.

This is a fix for 6979; bugfix on 0.2.2.18-alpha where we added that
assertion to get_server_identity_key().
changes/bug6979 [new file with mode: 0644]
src/or/router.c