summaryrefslogtreecommitdiff
path: root/src/or/hs_client.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-09-26 15:23:23 +0300
committerDavid Goulet <dgoulet@torproject.org>2017-09-27 09:24:35 -0400
commit178a2bbcff74b7f9df2a192f45f1f91f3a9f935d (patch)
tree24dcdcbc91d631b5899978b58f1e84a25aa5d1b9 /src/or/hs_client.h
parent6051375ccac45f68df48e6ce008f6849d160ce63 (diff)
downloadtor-178a2bbcff74b7f9df2a192f45f1f91f3a9f935d.tar.gz
tor-178a2bbcff74b7f9df2a192f45f1f91f3a9f935d.zip
prop224: Fix one last instance of get_time_period_num() with now.
When purging last HSDir requests, we used time(NULL) for computing the service blinded key but in all other places in our codebase we actually use the consensus times. That can cause wrong behavior if the consensus is in a different time period than time(NULL). This commit is required for proper purging of HSDir requests.
Diffstat (limited to 'src/or/hs_client.h')
0 files changed, 0 insertions, 0 deletions