tor/src
David Goulet 8293356ad9 hs: Refactor rend_data_t for multi version support
In order to implement proposal 224, we need the data structure rend_data_t to
be able to accomodate versionning that is the current version of hidden
service (2) and the new version (3) and future version.

For that, we implement a series of accessors and a downcast function to get
the v2 data structure. rend_data_t becomes a top level generic place holder.

The entire rend_data_t API has been moved to hs_common.{c|h} in order to
seperate code that is shared from between HS versions and unshared code (in
rendcommon.c).

Closes #19024

Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
2016-11-04 10:29:26 -04:00
..
common Fix some comments in sandbox.c 2016-08-23 10:02:11 -04:00
config Merge branch 'maint-0.2.8' 2016-08-12 10:27:23 -04:00
ext Add some how-to documentation for ht.h. Closes #19896 2016-08-11 10:18:51 -04:00
or hs: Refactor rend_data_t for multi version support 2016-11-04 10:29:26 -04:00
test hs: Refactor rend_data_t for multi version support 2016-11-04 10:29:26 -04:00
tools Merge branch 'maint-0.2.8' 2016-06-27 13:17:42 -04:00
trunnel Update to trunnel 1.4.4 to fix 18373 2016-02-22 14:19:29 -05:00
win32 bump to 0.2.9.2-alpha-dev 2016-08-24 14:45:33 -04:00
include.am Use trunnel for crypto_pwbox encoding/decoding. 2014-09-25 11:58:14 -04:00