mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add ifdefs to disable assertion in connection_ap_handshake_send_begin
This commit is contained in:
parent
a364f88477
commit
328c9582a9
@ -2461,7 +2461,9 @@ connection_ap_handshake_send_begin(entry_connection_t *ap_conn)
|
||||
begin_type = ap_conn->use_begindir ?
|
||||
RELAY_COMMAND_BEGIN_DIR : RELAY_COMMAND_BEGIN;
|
||||
if (begin_type == RELAY_COMMAND_BEGIN) {
|
||||
#ifndef NON_ANONYMOUS_MODE_ENABLED
|
||||
tor_assert(circ->build_state->onehop_tunnel == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (connection_edge_send_command(edge_conn, begin_type,
|
||||
|
Loading…
Reference in New Issue
Block a user