commit 56e33f73f13110fe5eb255bf260a11c8a54d4267 Author: Nick Mathewson nickm@torproject.org Date: Tue Jun 30 15:11:54 2020 -0400
Light edits to extend_info_t docs --- src/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 index a66ce24cf..7f1187cb8 100644 --- 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; };
tor-commits@lists.torproject.org