From: pulls Date: Mon, 8 Jul 2019 13:51:57 +0000 (+0200) Subject: transition when we send our first padding packet, not on received X-Git-Tag: tor-0.4.2.1-alpha~129^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd1f28518903924c4cd1a6494411128672b2689d;p=thirdparty%2Ftor.git transition when we send our first padding packet, not on received --- diff --git a/src/core/or/circuitpadding_machines.c b/src/core/or/circuitpadding_machines.c index 97828553a5..7220d657fc 100644 --- a/src/core/or/circuitpadding_machines.c +++ b/src/core/or/circuitpadding_machines.c @@ -406,7 +406,7 @@ circpad_machine_relay_hide_rend_circuits(smartlist_t *machines_sl) /* OBFUSCATE_CIRC_SETUP -> END transition when we send our first * padding packet and/or hit the state length (the state length is 1). */ relay_machine->states[CIRCPAD_STATE_OBFUSCATE_CIRC_SETUP]. - next_state[CIRCPAD_EVENT_PADDING_RECV] = CIRCPAD_STATE_END; + next_state[CIRCPAD_EVENT_PADDING_SENT] = CIRCPAD_STATE_END; relay_machine->states[CIRCPAD_STATE_OBFUSCATE_CIRC_SETUP]. next_state[CIRCPAD_EVENT_LENGTH_COUNT] = CIRCPAD_STATE_END;