summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-12 13:41:33 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-07-13 16:50:09 -0400
commitf64689f3f00d72033ff7544ada4ccdfb7c328b36 (patch)
treeea4401f57e13999f49032d8464051874dec89081 /src/or/hs_common.h
parent1b048fbfaadec04f409ab8d120106025b009fec8 (diff)
downloadtor-f64689f3f00d72033ff7544ada4ccdfb7c328b36.tar.gz
tor-f64689f3f00d72033ff7544ada4ccdfb7c328b36.zip
prop224: Don't use char * for binary data
It turns out that some char * sneaked in our hs_common.c code. Replace those by uint8_t *. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index 2b33914275..203a5d0818 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -93,7 +93,7 @@ void hs_build_address(const ed25519_public_key_t *key, uint8_t version,
char *addr_out);
int hs_address_is_valid(const char *address);
int hs_parse_address(const char *address, ed25519_public_key_t *key_out,
- char *checksum_out, uint8_t *version_out);
+ uint8_t *checksum_out, uint8_t *version_out);
void rend_data_free(rend_data_t *data);
rend_data_t *rend_data_dup(const rend_data_t *data);