hs: Remove a useless cast in verify_establish_intro_cell()

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2016-12-16 12:12:37 -05:00
parent b0ccb6bfa5
commit db0e926849
+1 -1
View File
@@ -87,7 +87,7 @@ verify_establish_intro_cell(const hs_cell_establish_intro_t *cell,
const size_t sig_msg_len = cell->end_sig_fields - msg;
int sig_mismatch = ed25519_checksig_prefixed(&sig_struct,
(uint8_t*) msg, sig_msg_len,
msg, sig_msg_len,
ESTABLISH_INTRO_SIG_PREFIX,
&auth_key);
if (sig_mismatch) {