diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-13 16:43:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-13 16:43:13 -0400 |
commit | b081a7ed21ae729f6e195715e130edaca3e0b7fe (patch) | |
tree | aafd960cf24db3d99cd0ea9b1b37c8e5b51a55a6 /src/or/hs_intropoint.c | |
parent | ba8952059323c614d7a1693228e349820fd1c50a (diff) | |
parent | 0565f5a3bb19cf1027de2093ba2fbaf7b937e2fb (diff) | |
download | tor-b081a7ed21ae729f6e195715e130edaca3e0b7fe.tar.gz tor-b081a7ed21ae729f6e195715e130edaca3e0b7fe.zip |
Merge branch 'ticket21891_031_01_squashed'
Diffstat (limited to 'src/or/hs_intropoint.c')
-rw-r--r-- | src/or/hs_intropoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_intropoint.c b/src/or/hs_intropoint.c index b3c76db0b0..2abbfcd6c3 100644 --- a/src/or/hs_intropoint.c +++ b/src/or/hs_intropoint.c @@ -73,9 +73,9 @@ verify_establish_intro_cell(const trn_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; } |