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

This commit is contained in:
teor 2019-10-21 13:09:48 +10:00
commit 3539fdfd7a
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -2179,8 +2179,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);