aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-19 13:42:35 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-07-25 13:11:40 -0400
commit78e2bc4000a9014c1762f828e15e762c359aa20e (patch)
tree8a1d307a65e9e341442a21b1bd2f0a5881e3e85c /src/or/hs_descriptor.h
parentb8ceab9bb33a8096f14a671399ce34db439f63e2 (diff)
downloadtor-78e2bc4000a9014c1762f828e15e762c359aa20e.tar.gz
tor-78e2bc4000a9014c1762f828e15e762c359aa20e.zip
prop224: Add the introduction point onion key to descriptor
A prop224 descriptor was missing the onion key for an introduction point which is needed to extend to it by the client. Closes #22979 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r--src/or/hs_descriptor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h
index 58c4089795..fdf0b90b5b 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -80,6 +80,10 @@ typedef struct hs_desc_intro_point_t {
* contains hs_desc_link_specifier_t object. It MUST have at least one. */
smartlist_t *link_specifiers;
+ /* Onion key of the introduction point used to extend to it for the ntor
+ * handshake. */
+ curve25519_public_key_t onion_key;
+
/* Authentication key used to establish the introduction point circuit and
* cross-certifies the blinded public key for the replica thus signed by
* the blinded key and in turn signs it. */