aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-06 11:47:01 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-06 15:59:28 -0400
commitafb6ff17390cb13780c6e813ad0535048dbd9d3c (patch)
tree8da0d2b916632eb18c7e80c9420b1fdd85a0b046 /src/core/or/channel.c
parentc4742b89b23d58958ee0d5ca324dac5948c94bf6 (diff)
downloadtor-afb6ff17390cb13780c6e813ad0535048dbd9d3c.tar.gz
tor-afb6ff17390cb13780c6e813ad0535048dbd9d3c.zip
Validate ed25519 keys and canonicity from circuit_n_conn_done()
Fixes bug 40080. Bugfix on 0.2.7.2-alpha.
Diffstat (limited to 'src/core/or/channel.c')
-rw-r--r--src/core/or/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index 3886906875..3bef6218ef 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -663,7 +663,7 @@ channel_find_by_global_id(uint64_t global_identifier)
/** Return true iff <b>chan</b> matches <b>rsa_id_digest</b> and <b>ed_id</b>.
* as its identity keys. If either is NULL, do not check for a match. */
-static int
+int
channel_remote_identity_matches(const channel_t *chan,
const char *rsa_id_digest,
const ed25519_public_key_t *ed_id)