diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-08-07 16:17:33 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:35 -0400 |
commit | 8bac50d7559adba16e282d5c83b891a387a8a3d5 (patch) | |
tree | f695b09249e235b15f2977e29e1b83bb3bdb2e0a /src/or/hs_circuit.c | |
parent | 273638288d4e6516011c4d538e5c1447f4753958 (diff) | |
download | tor-8bac50d7559adba16e282d5c83b891a387a8a3d5.tar.gz tor-8bac50d7559adba16e282d5c83b891a387a8a3d5.zip |
prop224: Improve comments and tests for ed25519 keys in IPs/RPs.
Also make sure we are not gonna advertise the ed25519 key of an intro
point that doesn't support it.
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r-- | src/or/hs_circuit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c index 43906619d7..f6594739bc 100644 --- a/src/or/hs_circuit.c +++ b/src/or/hs_circuit.c @@ -405,7 +405,8 @@ get_rp_extend_info(const smartlist_t *link_specifiers, } } SMARTLIST_FOREACH_END(ls); - /* IPv4, legacy ID and ed25519 are mandatory. */ + /* IPv4, legacy ID are mandatory for rend points. + * ed25519 keys and ipv6 are optional for rend points */ if (!have_v4 || !have_legacy_id) { goto done; } |