tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f05c144d7c91df365c667a48c0d99f548d766437
parent c6bcc92c1734a3a6fc1814ec5bada1cb0d768103
Author: teor <teor@riseup.net>
Date:   Mon, 18 May 2020 20:11:20 +1000

rust: declare HSIntro=5

Declare support for the onion service introduction point denial of
service extensions, when building tor with Rust.

Fixes bug 34248; bugfix on 0.4.2.1-alpha.

Diffstat:
Achanges/bug34248 | 4++++
Msrc/rust/protover/protover.rs | 4++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/changes/bug34248 b/changes/bug34248 @@ -0,0 +1,4 @@ + o Minor bugfixes (rust, protocol versions): + - Declare support for the onion service introduction point denial of + service extensions, when building tor with Rust. + Fixes bug 34248; bugfix on 0.4.2.1-alpha. diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs @@ -163,7 +163,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr { DirCache=1-2 \ FlowCtrl=1 \ HSDir=1-2 \ - HSIntro=3-4 \ + HSIntro=3-5 \ HSRend=1-2 \ Link=1-5 \ LinkAuth=3 \ @@ -178,7 +178,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr { DirCache=1-2 \ FlowCtrl=1 \ HSDir=1-2 \ - HSIntro=3-4 \ + HSIntro=3-5 \ HSRend=1-2 \ Link=1-5 \ LinkAuth=1,3 \