aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/relay.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-01-23 14:39:04 -0500
committerDavid Goulet <dgoulet@torproject.org>2019-04-29 12:17:57 -0400
commit402f0a4f5d70bee128130f4dbd0ea18de1747410 (patch)
treec5a3b45ccccd93171f830197aa994135bdc09f92 /src/core/or/relay.c
parentbb473a807ae94a1e6c45a069db6ddf213413940a (diff)
downloadtor-402f0a4f5d70bee128130f4dbd0ea18de1747410.tar.gz
tor-402f0a4f5d70bee128130f4dbd0ea18de1747410.zip
prop289: Remember the last cell digest for v1 SENDMEs
In order to do so, depending on where the cell is going, we'll keep the last cell digest that is either received inbound or sent outbound. Then it can be used for validation. Part of #26288 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/relay.c')
-rw-r--r--src/core/or/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/relay.c b/src/core/or/relay.c
index b26360b245..47275a811e 100644
--- a/src/core/or/relay.c
+++ b/src/core/or/relay.c
@@ -1568,7 +1568,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
}
/* Consider sending a circuit-level SENDME cell. */
- sendme_circuit_consider_sending(circ, layer_hint, NULL);
+ sendme_circuit_consider_sending(circ, layer_hint);
if (rh.stream_id == 0) {
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, "Relay data cell with zero "