node: Make node_supports_v3_rendezvous_point() also check for the key
commite3713f17fb393ef701f566dc3a34a188d270a908
authorDavid Goulet <dgoulet@torproject.org>
Thu, 20 Sep 2018 12:50:27 +0000 (20 08:50 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 20 Sep 2018 12:50:27 +0000 (20 08:50 -0400)
tree5a7cd8ccd451901ef6910072915629b8cb566ed2
parent119159677be14351ebcae647d3988f4f2fd9eb72
node: Make node_supports_v3_rendezvous_point() also check for the key

It is not enough to look at protover for v3 rendezvous support but also we
need to make sure that the curve25519 onion key is present or in other words
that the descriptor has been fetched and does contain it.

Fixes #27797.

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket27797 [new file with mode: 0644]
src/feature/nodelist/nodelist.c