mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Tweak a comment for a minor but important distinction
This commit is contained in:
parent
3aab8307a5
commit
6a9a118f90
@ -588,7 +588,7 @@ get_lspecs_from_extend_info(const extend_info_t *ei, smartlist_t *lspecs)
|
|||||||
link_specifier_set_ls_len(ls, link_specifier_getlen_un_legacy_id(ls));
|
link_specifier_set_ls_len(ls, link_specifier_getlen_un_legacy_id(ls));
|
||||||
smartlist_add(lspecs, ls);
|
smartlist_add(lspecs, ls);
|
||||||
|
|
||||||
/* ed25519 ID is only included if the node has it. */
|
/* ed25519 ID is only included if the extend_info has it. */
|
||||||
if (!ed25519_public_key_is_zero(&ei->ed_identity)) {
|
if (!ed25519_public_key_is_zero(&ei->ed_identity)) {
|
||||||
ls = link_specifier_new();
|
ls = link_specifier_new();
|
||||||
link_specifier_set_ls_type(ls, LS_ED25519_ID);
|
link_specifier_set_ls_type(ls, LS_ED25519_ID);
|
||||||
|
Loading…
Reference in New Issue
Block a user