diff options
author | David Goulet <dgoulet@torproject.org> | 2019-05-21 15:19:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-05-22 11:47:20 -0400 |
commit | 482c4972b996fc7b1a3a8cc13f93c8ecc8748590 (patch) | |
tree | c7bed5ca5d62a04fbe793ed113a318b55a7e7d0c /src/core/or/sendme.h | |
parent | 3835a3acf57426f692a787e7729de929b40dc62e (diff) | |
download | tor-482c4972b996fc7b1a3a8cc13f93c8ecc8748590.tar.gz tor-482c4972b996fc7b1a3a8cc13f93c8ecc8748590.zip |
sendme: Clarify how sendme_circuit_cell_is_next() works
Commit 4ef8470fa5480d3b was actually reverted before because in the end we
needed to do this minus 1 check on the window.
This commit clarifies that in the code, takes the useful comment changes from
4ef8470fa5480d3b and makes sendme_circuit_cell_is_next() private since it
behaves in a very specific way that one external caller might expect.
Part of #30428.
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, 0 insertions, 3 deletions
diff --git a/src/core/or/sendme.h b/src/core/or/sendme.h index 847fcdd672..cdbdf55ac7 100644 --- a/src/core/or/sendme.h +++ b/src/core/or/sendme.h @@ -40,9 +40,6 @@ void sendme_record_cell_digest_on_circ(circuit_t *circ, crypt_path_t *cpath); void sendme_record_received_cell_digest(circuit_t *circ, crypt_path_t *cpath); void sendme_record_sending_cell_digest(circuit_t *circ, crypt_path_t *cpath); -/* Circuit level information. */ -bool sendme_circuit_cell_is_next(int window); - /* Private section starts. */ #ifdef SENDME_PRIVATE |