diff options
author | Roger Dingledine <arma@torproject.org> | 2016-03-11 10:45:03 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2016-03-11 10:45:03 -0500 |
commit | 53902963383e1babfccb8a4ffc7ed4e8accf2214 (patch) | |
tree | fb11ab029e3b215105ca9bcf606328e3b0fcbc6e /src/or/rendcommon.h | |
parent | e167910fce2b83d9de3a252cdf02cabdafced14b (diff) | |
download | tor-53902963383e1babfccb8a4ffc7ed4e8accf2214.tar.gz tor-53902963383e1babfccb8a4ffc7ed4e8accf2214.zip |
rip out hid_serv_acting_as_directory()
When we made HidServDirectoryV2 always 1, we removed the situation
where a relay could choose not to be an HSDir. Now simplify the
rest of the code to reflect this decision.
(We have to remove two apparently unrelated free() calls in the unit
tests, since they used to free stuff that we created as a side effect
of calling router_get_my_routerinfo(), and now we no longer call that.)
Diffstat (limited to 'src/or/rendcommon.h')
-rw-r--r-- | src/or/rendcommon.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/rendcommon.h b/src/or/rendcommon.h index b3ae790518..bab53fc1f6 100644 --- a/src/or/rendcommon.h +++ b/src/or/rendcommon.h @@ -59,7 +59,6 @@ void rend_get_descriptor_id_bytes(char *descriptor_id_out, const char *secret_id_part); int hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, const char *id); -int hid_serv_acting_as_directory(void); rend_data_t *rend_data_dup(const rend_data_t *data); rend_data_t *rend_data_client_create(const char *onion_address, |