diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-08-03 16:03:30 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 2c6f2e9be9db6d3889a0756be93d7203888eaa72 (patch) | |
tree | 44a24aa6a4f1889a2dae7ea4f1e1179065705446 /src/or/hs_service.c | |
parent | 5ca9b830eacf46acde56469e5f19f977e5f02668 (diff) | |
download | tor-2c6f2e9be9db6d3889a0756be93d7203888eaa72.tar.gz tor-2c6f2e9be9db6d3889a0756be93d7203888eaa72.zip |
Constify functions that can be constified.
Diffstat (limited to 'src/or/hs_service.c')
-rw-r--r-- | src/or/hs_service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c index b46fd6329d..592b1f2552 100644 --- a/src/or/hs_service.c +++ b/src/or/hs_service.c @@ -2048,8 +2048,8 @@ update_revision_counters_in_state(void) * counter. Else set <b>service_found_out</b> to False. */ STATIC uint64_t check_state_line_for_service_rev_counter(const char *state_line, - ed25519_public_key_t *blinded_pubkey, - int *service_found_out) + const ed25519_public_key_t *blinded_pubkey, + int *service_found_out) { smartlist_t *items = NULL; int ok; @@ -2111,7 +2111,7 @@ check_state_line_for_service_rev_counter(const char *state_line, * service with blinded key <b>blinded_pubkey</b>. If no revision counter is * found, return 0. */ static uint64_t -get_rev_counter_for_service(ed25519_public_key_t *blinded_pubkey) +get_rev_counter_for_service(const ed25519_public_key_t *blinded_pubkey) { or_state_t *state = get_or_state(); config_line_t *line; |