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:
pulls 2019-07-08 16:15:41 +02:00
parent 5e16601000
commit c2521873a6

View File

@ -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);