summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-20 12:16:39 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-07-25 13:11:40 -0400
commitc9927ce4d5cf46cd12d09e73e80f435b4852f26e (patch)
treec86f481cdc555384c033efd6022d85fb9213b04f /src/or
parent78e2bc4000a9014c1762f828e15e762c359aa20e (diff)
downloadtor-c9927ce4d5cf46cd12d09e73e80f435b4852f26e.tar.gz
tor-c9927ce4d5cf46cd12d09e73e80f435b4852f26e.zip
prop224: Add onion key to service descriptor intro point
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or')
-rw-r--r--src/or/hs_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h
index 54b9e69724..ad95a20ed8 100644
--- a/src/or/hs_service.h
+++ b/src/or/hs_service.h
@@ -30,6 +30,10 @@ typedef struct hs_service_intro_point_t {
/* Top level intropoint "shared" data between client/service. */
hs_intropoint_t base;
+ /* Onion key of the introduction point used to extend to it for the ntor
+ * handshake. */
+ curve25519_public_key_t onion_key;
+
/* Authentication keypair used to create the authentication certificate
* which is published in the descriptor. */
ed25519_keypair_t auth_key_kp;