diff options
Diffstat (limited to 'crates/tor-proto/src/crypto')
| -rw-r--r-- | crates/tor-proto/src/crypto/handshake.rs | 2 | ||||
| -rw-r--r-- | crates/tor-proto/src/crypto/handshake/hs_ntor.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/tor-proto/src/crypto/handshake.rs b/crates/tor-proto/src/crypto/handshake.rs index e6322ac49..5fb4924d1 100644 --- a/crates/tor-proto/src/crypto/handshake.rs +++ b/crates/tor-proto/src/crypto/handshake.rs @@ -11,7 +11,7 @@ //! Currently, this module implements only the "ntor" handshake used //! for circuits on today's Tor. pub(crate) mod fast; -#[cfg(feature = "onion-common")] +#[cfg(feature = "hs-common")] pub mod hs_ntor; pub(crate) mod ntor; #[cfg(feature = "ntor_v3")] diff --git a/crates/tor-proto/src/crypto/handshake/hs_ntor.rs b/crates/tor-proto/src/crypto/handshake/hs_ntor.rs index 9dcdc6103..92e849afe 100644 --- a/crates/tor-proto/src/crypto/handshake/hs_ntor.rs +++ b/crates/tor-proto/src/crypto/handshake/hs_ntor.rs @@ -15,7 +15,7 @@ //! This module is a work in progress, and is not actually used anywhere yet //! or tested: please expect the API to change. //! -//! This module is available only when the `onion-common` feature is enabled. +//! This module is available only when the `hs-common` feature is enabled. // // TODO hs: go through this code carefully and make sure that its APIs and // behavior are still what we want. |
