diff options
| author | tv <tv@krebsco.de> | 2026-10-28 04:23:45 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-28 04:23:45 +0100 |
| commit | 54a8c79840c7b96064ed1677bd39bd6e04dec7ba (patch) | |
| tree | 49f2e3c4a4431221e39ab440b6f1b10be93aa71b /src/transport/mod.rs | |
| parent | 2f241feb637bf71fe5077ba183ffabe03c8212f3 (diff) | |
add challenge handshake
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 80b71cd..f28ac1f 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -11,6 +11,9 @@ use std::sync::atomic::{AtomicUsize, Ordering}; pub(crate) use crate::document::replica::Epoch; +// Used by the transports that don't authenticate their peers themselves (`tor`). +#[cfg_attr(not(feature = "tor"), allow(dead_code))] +pub(crate) mod challenge; pub(crate) mod firewall; pub(crate) mod identity; pub(crate) mod mycelium; |
