aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-08 21:25:04 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:35 -0400
commit686891d67ebf69808ac3d2b2c98263d21a3fe143 (patch)
tree01efd6f7f5dcd4fd6f0c8fa3fbb39ee8f6f3bc8e /src/trunnel
parent5c4f4acedb8600769889cdff0940806c27b679bd (diff)
downloadtor-686891d67ebf69808ac3d2b2c98263d21a3fe143.tar.gz
tor-686891d67ebf69808ac3d2b2c98263d21a3fe143.zip
prop224: Add XXX about opaqueness of link_specifier_t.
Diffstat (limited to 'src/trunnel')
-rw-r--r--src/trunnel/ed25519_cert.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/trunnel/ed25519_cert.h b/src/trunnel/ed25519_cert.h
index 782bd59585..0aa953d174 100644
--- a/src/trunnel/ed25519_cert.h
+++ b/src/trunnel/ed25519_cert.h
@@ -59,6 +59,10 @@ struct link_specifier_st {
};
#endif
typedef struct link_specifier_st link_specifier_t;
+/** 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 we would
+ * need to refactor that function to do the coyp by encoding and decoding the
+ * object. */
#if !defined(TRUNNEL_OPAQUE) && !defined(TRUNNEL_OPAQUE_ED25519_CERT)
struct ed25519_cert_st {
uint8_t version;