summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_common.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-08 16:47:20 +1000
committerNick Mathewson <nickm@torproject.org>2019-03-12 11:09:53 -0400
commit680b2afd84a318e11f79526bfedff29870307ed0 (patch)
treeab96ab5c76c74d4354dd8e1d9068d7e981d11c6f /src/feature/hs/hs_common.h
parent257cea8876e00b18c6791f86ebe5c24bab3b72bf (diff)
downloadtor-680b2afd84a318e11f79526bfedff29870307ed0.tar.gz
tor-680b2afd84a318e11f79526bfedff29870307ed0.zip
hs: abolish hs_desc_link_specifier_dup()
The previous commits introduced link_specifier_dup(), which is implemented using trunnel's opaque interfaces. So we can now remove hs_desc_link_specifier_dup(). Cleanup after bug 22781.
Diffstat (limited to 'src/feature/hs/hs_common.h')
-rw-r--r--src/feature/hs/hs_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/hs/hs_common.h b/src/feature/hs/hs_common.h
index 544e63e596..abf39fa431 100644
--- a/src/feature/hs/hs_common.h
+++ b/src/feature/hs/hs_common.h
@@ -217,8 +217,6 @@ uint64_t hs_get_time_period_num(time_t now);
uint64_t hs_get_next_time_period_num(time_t now);
time_t hs_get_start_time_of_next_time_period(time_t now);
-link_specifier_t *hs_link_specifier_dup(const link_specifier_t *lspec);
-
MOCK_DECL(int, hs_in_period_between_tp_and_srv,
(const networkstatus_t *consensus, time_t now));