prop224: Add XXX about opaqueness of link_specifier_t.

This commit is contained in:
George Kadianakis 2017-08-08 21:25:04 +03:00 committed by Nick Mathewson
parent 5c4f4acedb
commit 686891d67e

View File

@ -59,6 +59,10 @@ struct link_specifier_st {
}; };
#endif #endif
typedef struct link_specifier_st link_specifier_t; 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) #if !defined(TRUNNEL_OPAQUE) && !defined(TRUNNEL_OPAQUE_ED25519_CERT)
struct ed25519_cert_st { struct ed25519_cert_st {
uint8_t version; uint8_t version;