tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 3539fdfd7a0ad965f3e247116a6012d1b5d2a167
parent a1f73cb93da40185f8c8ed055de47e7525e77a3f
Author: teor <teor@torproject.org>
Date:   Mon, 21 Oct 2019 13:09:48 +1000

Merge remote-tracking branch 'tor-github/pr/1168'

Diffstat:
Msrc/core/or/circuitpadding.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/or/circuitpadding.c b/src/core/or/circuitpadding.c @@ -2179,8 +2179,8 @@ circpad_add_matching_machines(origin_circuit_t *on_circ, circ->padding_machine[i] = NULL; on_circ->padding_negotiation_failed = 1; } else { - /* Success. Don't try any more machines */ - return; + /* Success. Don't try any more machines on this index */ + break; } } } SMARTLIST_FOREACH_END(machine);