diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-23 08:28:05 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-23 08:28:05 -0500 |
commit | 9fb2bf2f3f5ae63da8e8c043f3f8488a6aad0ded (patch) | |
tree | 69724e20031e49940d5822c849b9806998d7752b /src/or/hs_common.c | |
parent | d528690e90914dfa028b6afbccb80f3b5f02dc87 (diff) | |
parent | 3ee9a6d6fdde3a05620e6c0e14eea6a1957616f4 (diff) | |
download | tor-9fb2bf2f3f5ae63da8e8c043f3f8488a6aad0ded.tar.gz tor-9fb2bf2f3f5ae63da8e8c043f3f8488a6aad0ded.zip |
Merge remote-tracking branch 'dgoulet/bug19899_030_01'
Diffstat (limited to 'src/or/hs_common.c')
-rw-r--r-- | src/or/hs_common.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/or/hs_common.c b/src/or/hs_common.c index 7dd97e7c7c..6a88f411be 100644 --- a/src/or/hs_common.c +++ b/src/or/hs_common.c @@ -267,18 +267,3 @@ rend_data_get_pk_digest(const rend_data_t *rend_data, size_t *len_out) tor_assert(0); } } - -/* Return true iff the Onion Services protocol version 3 is enabled. This only - * considers the consensus parameter. If the parameter is not found, the - * default is that it's enabled. */ -int -hs_v3_protocol_is_enabled(void) -{ - /* This consensus param controls if the the onion services version 3 is - * enabled or not which is the first version of the next generation - * (proposal 224). If this option is set to 0, the tor daemon won't support - * the protocol as either a relay, directory, service or client. By default, - * it's enabled if the parameter is not found. */ - return networkstatus_get_param(NULL, "EnableOnionServicesV3", 1, 0, 1); -} - |