aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_pwbox.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-09-26 08:36:08 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-16 08:11:49 -0400
commitb5731cdf2ecdf0662de7268d95aa67cfaca92b6e (patch)
treedafa93316f98c16e942bd8d35c1e922c9eaef416 /src/common/crypto_pwbox.c
parent38599de2dd4d7bc4e8e8e888ff3731c1ffac7255 (diff)
downloadtor-b5731cdf2ecdf0662de7268d95aa67cfaca92b6e.tar.gz
tor-b5731cdf2ecdf0662de7268d95aa67cfaca92b6e.zip
mainloop: Set client role if ControlPort is set
It turns out that if _only_ the ControlPort is set and nothing else, tor would simply not bootstrap and thus not start properly. Commit 67a41b63063370c2 removed that requirement for tor to be considered a "client". Unfortunately, this made the mainloop enable basically nothing if only the ControlPort is set in the torrc. This commit now makes it that we also consider the ControlPort when deciding if we are a Client or not. It does not revert 67a41b63063370c2 meaning options_any_client_port_set() stays the same, not looking at the control port. Fixes #27849. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/common/crypto_pwbox.c')
0 files changed, 0 insertions, 0 deletions