In legacy/trac#23577 (moved), we are going to implement a node_get_curve25519_onion_key() function. We can use this in extend_info_from_node() if we want to.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
ntor_key, ntor_onion_key, curve25519_ntor_key, and curve25519_onion_key are also good names for this key -- we just shouldn't call it curve25519_key (with no indication of its purpose).
Modify the name for consistency with node_has_curve25519_onion_key().
Trac: Keywords: N/Adeleted, easy added Summary: Use node_get_curve25519_key() in extend_info_from_node() to Use node_get_curve25519_onion_key() in extend_info_from_node() Description: In legacy/trac#23577 (moved), we are going to implement a node_get_curve25519_key() function. We can use this in extend_info_from_node() if we want to.
to
In legacy/trac#23577 (moved), we are going to implement a node_get_curve25519_onion_key() function. We can use this in extend_info_from_node() if we want to.
When I try to compile this, I get the following errors:
src/or/circuitbuild.c:2699:5: error: implicit declaration of function 'node_get_curve25519_onion_key' is invalid in C99 [-Werror,-Wimplicit-function-declaration] node_get_curve25519_onion_key(node); ^src/or/circuitbuild.c:2699:5: note: did you mean 'node_has_curve25519_onion_key'?./src/or/nodelist.h:78:5: note: 'node_has_curve25519_onion_key' declared hereint node_has_curve25519_onion_key(const node_t *node); ^src/or/circuitbuild.c:2698:34: error: incompatible integer to pointer conversion initializing 'const curve25519_public_key_t *' (aka 'const struct curve25519_public_key_t *') with an expression of type 'int' [-Werror,-Wint-conversion] const curve25519_public_key_t *curve_pubkey = ^
Please import the correct header for node_get_curve25519_onion_key(), or put a declaration in the correct header.