tor

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

commit 56e33f73f13110fe5eb255bf260a11c8a54d4267
parent 20d1a1cdbd9d4a3d21e80c62027522505731189a
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 30 Jun 2020 15:11:54 -0400

Light edits to extend_info_t docs

Diffstat:
Msrc/core/or/extend_info_st.h | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/core/or/extend_info_st.h b/src/core/or/extend_info_st.h @@ -17,7 +17,7 @@ /** Information on router used when extending a circuit. We don't need a * full routerinfo_t to extend: we only need addr:port:keyid to build an OR - * connection, and onion_key to create the onionskin. Note that for onehop + * connection, and onion_key to create the onionskin. Note that for one-hop * general-purpose tunnels, the onion_key is NULL. */ struct extend_info_t { char nickname[MAX_HEX_NICKNAME_LEN+1]; /**< This router's nickname for @@ -28,7 +28,9 @@ struct extend_info_t { ed25519_public_key_t ed_identity; uint16_t port; /**< OR port. */ tor_addr_t addr; /**< IP address. */ - crypto_pk_t *onion_key; /**< Current onionskin key. */ + /** TAP onion key for this hop. */ + crypto_pk_t *onion_key; + /** Ntor onion key for this hop. */ curve25519_public_key_t curve25519_onion_key; };