commit fd1f28518903924c4cd1a6494411128672b2689d
parent 5f95b37f6c76d0f8772cb00db5bc7b7f97d942fa
Author: pulls <tobias.pulls@kau.se>
Date: Mon, 8 Jul 2019 15:51:57 +0200
transition when we send our first padding packet, not on received
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;