From db0e926849954b36f3eeba274308f2c9bb8292f1 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 16 Dec 2016 12:12:37 -0500 Subject: [PATCH] hs: Remove a useless cast in verify_establish_intro_cell() Signed-off-by: David Goulet --- src/or/hs_intropoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/hs_intropoint.c b/src/or/hs_intropoint.c index 7bd80d5c9d..b37c9a1b9f 100644 --- a/src/or/hs_intropoint.c +++ b/src/or/hs_intropoint.c @@ -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) {