tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 0c6d05cdd4b20ddacb913e84cc49a4d4082b28d4
parent 527eb563cbf8e5be385623a608f5503110d2c445
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 13 Nov 2017 12:27:44 -0500

Merge branch 'maint-0.3.2'

Diffstat:
Achanges/bug24262 | 3+++
Msrc/or/hs_common.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/bug24262 b/changes/bug24262 @@ -0,0 +1,3 @@ + o Minor bugfixes (hidden service): + - Fix the consensus parameter "hsdir-interval" to "hsdir_interval" so it + matches the dir-spec.txt. Fixes bug 24262; bugfix on 0.3.1.1-alpha. diff --git a/src/or/hs_common.c b/src/or/hs_common.c @@ -224,7 +224,7 @@ get_time_period_length(void) return sr_state_get_protocol_run_duration() / 60; } - int32_t time_period_length = networkstatus_get_param(NULL, "hsdir-interval", + int32_t time_period_length = networkstatus_get_param(NULL, "hsdir_interval", HS_TIME_PERIOD_LENGTH_DEFAULT, HS_TIME_PERIOD_LENGTH_MIN, HS_TIME_PERIOD_LENGTH_MAX);