aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-16 14:43:16 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-17 11:42:49 -0400
commitf64cf09eb2306ddb3afb8f92a08da3a4a94f333b (patch)
tree48b3735f352623c5abbafb47f592d3283e4820dd /src/core/or/channeltls.c
parentadec4715953630312c565cfce7a15f4593fc4b27 (diff)
downloadtor-f64cf09eb2306ddb3afb8f92a08da3a4a94f333b.tar.gz
tor-f64cf09eb2306ddb3afb8f92a08da3a4a94f333b.zip
Document some channel_matches_extend_info issues that confused me.
Diffstat (limited to 'src/core/or/channeltls.c')
-rw-r--r--src/core/or/channeltls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/channeltls.c b/src/core/or/channeltls.c
index 7ec977be3c..ae60038c34 100644
--- a/src/core/or/channeltls.c
+++ b/src/core/or/channeltls.c
@@ -667,6 +667,9 @@ channel_tls_is_canonical_method(channel_t *chan, int req)
*
* This implements the matches_extend_info method for channel_tls_t; the upper
* layer wants to know if this channel matches an extend_info_t.
+ *
+ * NOTE that this function only checks for an address/port match, and should
+ * be used only when no identify is available.
*/
static int
channel_tls_matches_extend_info_method(channel_t *chan,