diff options
author | teor <teor@riseup.net> | 2020-05-18 20:11:20 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-18 20:16:11 +1000 |
commit | f05c144d7c91df365c667a48c0d99f548d766437 (patch) | |
tree | 59c34b9c6887e91927802e8165906428c6461849 /src/rust/protover | |
parent | c6bcc92c1734a3a6fc1814ec5bada1cb0d768103 (diff) | |
download | tor-f05c144d7c91df365c667a48c0d99f548d766437.tar.gz tor-f05c144d7c91df365c667a48c0d99f548d766437.zip |
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 (limited to 'src/rust/protover')
-rw-r--r-- | src/rust/protover/protover.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs index 3a7379d890..076cd5301e 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 \ |