aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_intropoint.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-12-22 16:59:18 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-04-07 09:22:55 -0400
commitc71670262506cfe75bb439928ce2da2b1ebd30c4 (patch)
tree57fbe17b3726e99258a67f980083ed28eeecd672 /src/or/hs_intropoint.c
parent419c0c07881c71050546c1049173a7eadf936799 (diff)
downloadtor-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_intropoint.c')
-rw-r--r--src/or/hs_intropoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_intropoint.c b/src/or/hs_intropoint.c
index a7282aba8f..168a89bc96 100644
--- a/src/or/hs_intropoint.c
+++ b/src/or/hs_intropoint.c
@@ -73,9 +73,9 @@ verify_establish_intro_cell(const hs_cell_establish_intro_t *cell,
size_t circuit_key_material_len)
{
/* We only reach this function if the first byte of the cell is 0x02 which
- * means that auth_key_type is AUTH_KEY_ED25519, hence this check should
+ * means that auth_key_type is of ed25519 type, hence this check should
* always pass. See hs_intro_received_establish_intro(). */
- if (BUG(cell->auth_key_type != AUTH_KEY_ED25519)) {
+ if (BUG(cell->auth_key_type != HS_INTRO_AUTH_KEY_TYPE_ED25519)) {
return -1;
}