mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
hs: Remove last artefact of HSv2 in the code
Closes #40266 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
+3
-1
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user