commit db0e926849954b36f3eeba274308f2c9bb8292f1 Author: David Goulet dgoulet@torproject.org Date: Fri Dec 16 12:12:37 2016 -0500
hs: Remove a useless cast in verify_establish_intro_cell()
Signed-off-by: David Goulet dgoulet@torproject.org --- 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 7bd80d5..b37c9a1 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) {
tor-commits@lists.torproject.org