diff options
author | David Goulet <dgoulet@torproject.org> | 2016-12-22 16:59:18 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-04-07 09:22:55 -0400 |
commit | c71670262506cfe75bb439928ce2da2b1ebd30c4 (patch) | |
tree | 57fbe17b3726e99258a67f980083ed28eeecd672 /src/or/hs_service.c | |
parent | 419c0c07881c71050546c1049173a7eadf936799 (diff) | |
download | tor-c71670262506cfe75bb439928ce2da2b1ebd30c4.tar.gz tor-c71670262506cfe75bb439928ce2da2b1ebd30c4.zip |
hs: Remove redundant define of ed25519 auth key type
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r-- | src/or/hs_service.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c index 52de2bfa9d..5d69a1dfff 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 = hs_cell_establish_intro_new(); /* Set AUTH_KEY_TYPE: 2 means ed25519 */ - hs_cell_establish_intro_set_auth_key_type(cell, AUTH_KEY_ED25519); + hs_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 */ |