prop224: Refactor pick_hsdir() to be used by both v2 and v3.
commit0f6633abb29743d920c27e8d7888dba4d83217b5
authorGeorge Kadianakis <desnacked@riseup.net>
Thu, 1 Jun 2017 11:07:53 +0000 (1 14:07 +0300)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 24 Aug 2017 17:03:28 +0000 (24 13:03 -0400)
tree05f761e71346d1a392a9cb286da4a3cbd8f2faff
parent5c9cd912eece244f90ecf31712722dc6b993f6da
prop224: Refactor pick_hsdir() to be used by both v2 and v3.

Also refactor rendclient.c to use the new hs_pick_hdsir() func.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/hs_common.c
src/or/hs_common.h
src/or/rendclient.c