Refactor code that builds a circuittarget from link specifiers and keys.
The function circtarget_from_pieces
in tor-hsclient is very similar to a block of code in tor-hsservice
that does the same thing when contacting a rendezvous point. It might be neat to unify these.
(Look for TODO (#1223)
in tor-hsservice.)
Edited by Nick Mathewson