[tor-commits] [tor/master] transition when we send our first padding packet, not on received

nickm at torproject.org nickm at torproject.org
Tue Jul 23 16:32:24 UTC 2019


commit fd1f28518903924c4cd1a6494411128672b2689d
Author: pulls <tobias.pulls at kau.se>
Date:   Mon Jul 8 15:51:57 2019 +0200

    transition when we send our first padding packet, not on received
---
 src/core/or/circuitpadding_machines.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/or/circuitpadding_machines.c b/src/core/or/circuitpadding_machines.c
index 97828553a..7220d657f 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;
 





More information about the tor-commits mailing list