summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-04-28 19:56:12 -0400
committerNeel Chauhan <neel@neelc.org>2018-04-28 20:35:30 -0400
commitbfe5a739b79510d7ab32dad6e9882dc7b8bf024f (patch)
tree7886cbe60ae770db4978fdb1bdd159020d5e093f /src/or/hs_common.h
parentcb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad (diff)
downloadtor-bfe5a739b79510d7ab32dad6e9882dc7b8bf024f.tar.gz
tor-bfe5a739b79510d7ab32dad6e9882dc7b8bf024f.zip
Make hsdir_index in node_t a hsdir_index_t rather than a pointer.
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index 83ba1b8599..ef7d5dca2b 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -156,19 +156,6 @@ typedef struct rend_service_port_config_t {
char unix_addr[FLEXIBLE_ARRAY_MEMBER];
} rend_service_port_config_t;
-/* Hidden service directory index used in a node_t which is set once we set
- * the consensus. */
-typedef struct hsdir_index_t {
- /* HSDir index to use when fetching a descriptor. */
- uint8_t fetch[DIGEST256_LEN];
-
- /* HSDir index used by services to store their first and second
- * descriptor. The first descriptor is chronologically older than the second
- * one and uses older TP and SRV values. */
- uint8_t store_first[DIGEST256_LEN];
- uint8_t store_second[DIGEST256_LEN];
-} hsdir_index_t;
-
void hs_init(void);
void hs_free_all(void);