[tor-commits] [tor/master] rust: declare HSIntro=5

nickm at torproject.org nickm at torproject.org
Tue Jun 9 19:45:23 UTC 2020


commit f05c144d7c91df365c667a48c0d99f548d766437
Author: teor <teor at riseup.net>
Date:   Mon May 18 20:11:20 2020 +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.
---
 changes/bug34248              | 4 ++++
 src/rust/protover/protover.rs | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/changes/bug34248 b/changes/bug34248
new file mode 100644
index 000000000..b89df444e
--- /dev/null
+++ 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
index 3a7379d89..076cd5301 100644
--- 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 \





More information about the tor-commits mailing list