tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 99974d4c1e28cb96d82734ef7cf3531576da610a
parent aff49cc52dfabbd235505e12d507c6faf3262307
Author: George Kadianakis <desnacked@riseup.net>
Date:   Wed, 13 Jun 2018 14:14:17 +0300

Silence warning of relaycell/circbw tst.

Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.

Diffstat:
Msrc/test/test_relaycell.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c @@ -221,7 +221,7 @@ test_circbw_relay(void *arg) ASSERT_UNCOUNTED_BW(); /* Data cell on stream 0: not counted */ - PACK_CELL(0, RELAY_COMMAND_DATA, "Data1234"); + PACK_CELL(1, RELAY_COMMAND_DATA, "Data1234"); connection_edge_process_relay_cell(&cell, TO_CIRCUIT(circ), edgeconn, circ->cpath); ASSERT_UNCOUNTED_BW();