summaryrefslogtreecommitdiff
path: root/src/or/hs_service.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-13 16:43:13 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-13 16:43:13 -0400
commitb081a7ed21ae729f6e195715e130edaca3e0b7fe (patch)
treeaafd960cf24db3d99cd0ea9b1b37c8e5b51a55a6 /src/or/hs_service.c
parentba8952059323c614d7a1693228e349820fd1c50a (diff)
parent0565f5a3bb19cf1027de2093ba2fbaf7b937e2fb (diff)
downloadtor-b081a7ed21ae729f6e195715e130edaca3e0b7fe.tar.gz
tor-b081a7ed21ae729f6e195715e130edaca3e0b7fe.zip
Merge branch 'ticket21891_031_01_squashed'
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r--src/or/hs_service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 71939e236b..205ef11c92 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -12,6 +12,7 @@
#include "circuitlist.h"
#include "circpathbias.h"
+#include "hs_intropoint.h"
#include "hs_service.h"
#include "hs_common.h"
@@ -75,7 +76,8 @@ generate_establish_intro_cell(const uint8_t *circuit_key_material,
cell = trn_cell_establish_intro_new();
/* Set AUTH_KEY_TYPE: 2 means ed25519 */
- trn_cell_establish_intro_set_auth_key_type(cell, AUTH_KEY_ED25519);
+ trn_cell_establish_intro_set_auth_key_type(cell,
+ HS_INTRO_AUTH_KEY_TYPE_ED25519);
/* Set AUTH_KEY_LEN field */
/* Must also set byte-length of AUTH_KEY to match */