mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
hs: Remove a useless cast in verify_establish_intro_cell()
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user