From 8bac50d7559adba16e282d5c83b891a387a8a3d5 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Mon, 7 Aug 2017 16:17:33 +0300 Subject: 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. --- src/or/hs_circuit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/hs_circuit.c') 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; } -- cgit v1.2.3-54-g00ecf