mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
fix for circpad_add_matching_machines to be able to negotiate one machine per index, not only one machine in total
This commit is contained in:
parent
5e16601000
commit
c2521873a6
@ -2084,8 +2084,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);
|
||||
|
Loading…
Reference in New Issue
Block a user