aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitpadding_machines.c
diff options
context:
space:
mode:
authorpulls <tobias.pulls@kau.se>2019-07-08 15:51:57 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2019-07-23 11:52:25 +0300
commitfd1f28518903924c4cd1a6494411128672b2689d (patch)
tree0ff70353e68b46cbbb163227a4053542000982c3 /src/core/or/circuitpadding_machines.c
parent5f95b37f6c76d0f8772cb00db5bc7b7f97d942fa (diff)
downloadtor-fd1f28518903924c4cd1a6494411128672b2689d.tar.gz
tor-fd1f28518903924c4cd1a6494411128672b2689d.zip
transition when we send our first padding packet, not on received
Diffstat (limited to 'src/core/or/circuitpadding_machines.c')
-rw-r--r--src/core/or/circuitpadding_machines.c2
1 files changed, 1 insertions, 1 deletions
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;