diff options
author | David Goulet <dgoulet@torproject.org> | 2021-11-04 14:44:58 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-01-18 12:39:06 -0500 |
commit | 72041c63064b461e2eb9102f12c4fe217e9066dd (patch) | |
tree | 41dddcfbf6d0416f8a643ced0d987bab936c8d34 /src/test | |
parent | 4a24673436b2f8cf7a6bbbb353f97f1ae403e411 (diff) | |
download | tor-72041c63064b461e2eb9102f12c4fe217e9066dd.tar.gz tor-72041c63064b461e2eb9102f12c4fe217e9066dd.zip |
relay: Don't advertise HSv2 protocol version
We removed HSIntro=3 and HSDir=1 that are v2 specific. Since 0.3.5.17,
we do not support introducing or being a directory for onion service v2.
Closes #40509
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_protover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c index b4689045cf..3fbfe3a682 100644 --- a/src/test/test_protover.c +++ b/src/test/test_protover.c @@ -369,12 +369,12 @@ test_protover_supports_version(void *arg) /* Highest supported HSv2 introduce protocol version. * Hard-coded here, because it does not appear anywhere in the code. * It's not clear if we actually support version 2, see #25068. */ -#define PROTOVER_HSINTRO_V2 3 +#define PROTOVER_HSINTRO_V2 4 /* HSv2 Rend and HSDir protocol versions. * Hard-coded here, because they do not appear anywhere in the code. */ #define PROTOVER_HS_RENDEZVOUS_POINT_V2 1 -#define PROTOVER_HSDIR_V2 1 +#define PROTOVER_HSDIR_V2 2 /* DirCache, Desc, Microdesc, and Cons protocol versions. * Hard-coded here, because they do not appear anywhere in the code. */ |