]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Put comment in the trunnel file, so it wont go away.
authorNick Mathewson <nickm@torproject.org>
Wed, 9 Aug 2017 00:31:47 +0000 (20:31 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 9 Aug 2017 00:31:47 +0000 (20:31 -0400)
src/trunnel/ed25519_cert.trunnel

index e424ce54648b8fdc5a70803ddd2cf02782a2da06..8d6483d558b58bb54c2531e41e1c0b1cfcb42352 100644 (file)
@@ -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;