diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-16 11:02:58 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-19 13:20:49 -0500 |
commit | 8577243cd2d06a8a784fea97df00f7cc7363967f (patch) | |
tree | f6942444eb22fb5912dc30890df901bbb6be1986 /src/core | |
parent | 9782cd2c9be8e6581eaee246faa9c4ac4554b2d5 (diff) | |
download | tor-8577243cd2d06a8a784fea97df00f7cc7363967f.tar.gz tor-8577243cd2d06a8a784fea97df00f7cc7363967f.zip |
hs: Remove last artefact of HSv2 in the code
Closes #40266
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/circuituse.h | 1 | ||||
-rw-r--r-- | src/core/or/or.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/or/circuituse.h b/src/core/or/circuituse.h index 028fe4aa48..28e11b9859 100644 --- a/src/core/or/circuituse.h +++ b/src/core/or/circuituse.h @@ -76,7 +76,6 @@ bool circuit_purpose_is_hs_client(const uint8_t purpose); bool circuit_purpose_is_hs_service(const uint8_t purpose); bool circuit_purpose_is_hs_vanguards(const uint8_t purpose); -bool circuit_is_hs_v2(const circuit_t *circ); bool circuit_is_hs_v3(const circuit_t *circ); int circuit_should_use_vanguards(uint8_t); diff --git a/src/core/or/or.h b/src/core/or/or.h index 294cff6603..6a15afb03a 100644 --- a/src/core/or/or.h +++ b/src/core/or/or.h @@ -328,7 +328,9 @@ struct curve25519_public_key_t; * passed through from a destroy or truncate cell. */ #define END_CIRC_REASON_FLAG_REMOTE 512 -/** Length of v2 descriptor ID (32 base32 chars = 160 bits). */ +/** Length of v2 descriptor ID (32 base32 chars = 160 bits). + * + * XXX: It is still used by v3 code but should be renamed or maybe removed. */ #define REND_DESC_ID_V2_LEN_BASE32 BASE32_DIGEST_LEN /** Maximum length of authorized client names for a hidden service. */ |