summaryrefslogtreecommitdiff
path: root/src/trunnel
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-08 20:31:47 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:31:47 -0400
commit2f17743d6f7222cf96250890dd91d6689b2d55c6 (patch)
tree013874c1c080f26594ca6f18b7957a592e14e7fe /src/trunnel
parent686891d67ebf69808ac3d2b2c98263d21a3fe143 (diff)
downloadtor-2f17743d6f7222cf96250890dd91d6689b2d55c6.tar.gz
tor-2f17743d6f7222cf96250890dd91d6689b2d55c6.zip
Put comment in the trunnel file, so it wont go away.
Diffstat (limited to 'src/trunnel')
-rw-r--r--src/trunnel/ed25519_cert.trunnel6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/trunnel/ed25519_cert.trunnel b/src/trunnel/ed25519_cert.trunnel
index e424ce5464..8d6483d558 100644
--- a/src/trunnel/ed25519_cert.trunnel
+++ b/src/trunnel/ed25519_cert.trunnel
@@ -28,6 +28,12 @@ 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;