diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-20 16:22:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-20 16:22:16 -0400 |
commit | e7ac8fabcc36e8b63f4967f5efc9447b60cb2204 (patch) | |
tree | 4a3d037e529807b9afd8357b038ad5442a193793 /src/feature | |
parent | 2ed0d240e8dea9a789bd6969112a1df4d0363947 (diff) | |
parent | cb81a69f90c82c2c2a5b41b80eadf50be5e8193d (diff) | |
download | tor-e7ac8fabcc36e8b63f4967f5efc9447b60cb2204.tar.gz tor-e7ac8fabcc36e8b63f4967f5efc9447b60cb2204.zip |
Merge remote-tracking branch 'dgoulet/ticket27410_035_01'
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/hs/hs_client.c | 2 | ||||
-rw-r--r-- | src/feature/hs/hs_client.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c index fa7c78c8f9..563f6c6b3b 100644 --- a/src/feature/hs/hs_client.c +++ b/src/feature/hs/hs_client.c @@ -247,7 +247,7 @@ close_all_socks_conns_waiting_for_desc(const ed25519_public_key_t *identity_pk, /* Find all pending SOCKS connection waiting for a descriptor and retry them * all. This is called when the directory information changed. */ -static void +STATIC void retry_all_socks_conn_waiting_for_desc(void) { smartlist_t *conns = diff --git a/src/feature/hs/hs_client.h b/src/feature/hs/hs_client.h index 1ba0338dc3..fb4f9e9e9f 100644 --- a/src/feature/hs/hs_client.h +++ b/src/feature/hs/hs_client.h @@ -104,6 +104,8 @@ STATIC int handle_rendezvous2(origin_circuit_t *circ, const uint8_t *payload, MOCK_DECL(STATIC hs_client_fetch_status_t, fetch_v3_desc, (const ed25519_public_key_t *onion_identity_pk)); +STATIC void retry_all_socks_conn_waiting_for_desc(void); + #ifdef TOR_UNIT_TESTS STATIC digest256map_t *get_hs_client_auths_map(void); |