aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_intropoint.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-12-16 12:12:37 -0500
committerDavid Goulet <dgoulet@torproject.org>2016-12-16 12:21:07 -0500
commitdb0e926849954b36f3eeba274308f2c9bb8292f1 (patch)
treedda0614388100a6440e38230f06de0ee79e14c63 /src/or/hs_intropoint.c
parentb0ccb6bfa505dc072c7af87261f6ac04e5e106db (diff)
downloadtor-db0e926849954b36f3eeba274308f2c9bb8292f1.tar.gz
tor-db0e926849954b36f3eeba274308f2c9bb8292f1.zip
hs: Remove a useless cast in verify_establish_intro_cell()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_intropoint.c')
-rw-r--r--src/or/hs_intropoint.c2
1 files changed, 1 insertions, 1 deletions
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) {