summaryrefslogtreecommitdiff
path: root/src/trunnel
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-08 16:47:20 +1000
committerNick Mathewson <nickm@torproject.org>2019-03-12 11:09:53 -0400
commit680b2afd84a318e11f79526bfedff29870307ed0 (patch)
treeab96ab5c76c74d4354dd8e1d9068d7e981d11c6f /src/trunnel
parent257cea8876e00b18c6791f86ebe5c24bab3b72bf (diff)
downloadtor-680b2afd84a318e11f79526bfedff29870307ed0.tar.gz
tor-680b2afd84a318e11f79526bfedff29870307ed0.zip
hs: abolish hs_desc_link_specifier_dup()
The previous commits introduced link_specifier_dup(), which is implemented using trunnel's opaque interfaces. So we can now remove hs_desc_link_specifier_dup(). Cleanup after bug 22781.
Diffstat (limited to 'src/trunnel')
-rw-r--r--src/trunnel/ed25519_cert.trunnel6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/trunnel/ed25519_cert.trunnel b/src/trunnel/ed25519_cert.trunnel
index 8d6483d558..e424ce5464 100644
--- a/src/trunnel/ed25519_cert.trunnel
+++ b/src/trunnel/ed25519_cert.trunnel
@@ -28,12 +28,6 @@ const LS_IPV6 = 0x01;
const LS_LEGACY_ID = 0x02;
const LS_ED25519_ID = 0x03;
-// XXX hs_link_specifier_dup() violates the opaqueness of link_specifier_t by
-// taking its sizeof(). If we ever want to turn on TRUNNEL_OPAQUE, or
-// if we ever make link_specifier contain other types, we will
-// need to refactor that function to do the copy by encoding and decoding the
-// object.
-
// amended from tor.trunnel
struct link_specifier {
u8 ls_type;