mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +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;
|
circ->padding_machine[i] = NULL;
|
||||||
on_circ->padding_negotiation_failed = 1;
|
on_circ->padding_negotiation_failed = 1;
|
||||||
} else {
|
} else {
|
||||||
/* Success. Don't try any more machines */
|
/* Success. Don't try any more machines on this index */
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} SMARTLIST_FOREACH_END(machine);
|
} SMARTLIST_FOREACH_END(machine);
|
||||||
|
Loading…
Reference in New Issue
Block a user