aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-07 13:08:51 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:48:01 -0500
commitd0b76f5099cb21c3f2d688d7e812f349dc06b695 (patch)
tree22ea03f38eb3824794ec5c95e2914430c6dda763
parent5eef00eb049606bf5b5610af8e3ce9514bd95882 (diff)
downloadtor-d0b76f5099cb21c3f2d688d7e812f349dc06b695.tar.gz
tor-d0b76f5099cb21c3f2d688d7e812f349dc06b695.zip
Fix comment on connection_or_client_learned_peer_id().
-rw-r--r--src/or/connection_or.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index f0292bcf75..635d3e416a 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1588,9 +1588,10 @@ connection_or_check_valid_tls_handshake(or_connection_t *conn,
/** Called when we (as a connection initiator) have definitively,
* authenticatedly, learned that ID of the Tor instance on the other
- * side of <b>conn</b> is <b>peer_id</b>. For v1 and v2 handshakes,
+ * side of <b>conn</b> is <b>rsa_peer_id</b> and optionally <b>ed_peer_id</b>.
+ * For v1 and v2 handshakes,
* this is right after we get a certificate chain in a TLS handshake
- * or renegotiation. For v3 handshakes, this is right after we get a
+ * or renegotiation. For v3+ handshakes, this is right after we get a
* certificate chain in a CERTS cell.
*
* If we did not know the ID before, record the one we got.