diff options
author | David Goulet <dgoulet@torproject.org> | 2019-01-23 14:39:04 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-04-29 12:17:57 -0400 |
commit | 402f0a4f5d70bee128130f4dbd0ea18de1747410 (patch) | |
tree | c5a3b45ccccd93171f830197aa994135bdc09f92 /src/core/or/sendme.h | |
parent | bb473a807ae94a1e6c45a069db6ddf213413940a (diff) | |
download | tor-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/sendme.h')
-rw-r--r-- | src/core/or/sendme.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/or/sendme.h b/src/core/or/sendme.h index 300fb25d96..e7cf718bb1 100644 --- a/src/core/or/sendme.h +++ b/src/core/or/sendme.h @@ -16,8 +16,7 @@ /* Sending SENDME cell. */ void sendme_connection_edge_consider_sending(edge_connection_t *edge_conn); void sendme_circuit_consider_sending(circuit_t *circ, - crypt_path_t *layer_hint, - crypto_digest_t *digest); + crypt_path_t *layer_hint); /* Processing SENDME cell. */ int sendme_process_circuit_level(crypt_path_t *layer_hint, |