[tor-commits] [tor/master] Fix comment on connection_or_client_learned_peer_id().

nickm at torproject.org nickm at torproject.org
Thu Dec 8 21:53:43 UTC 2016


commit d0b76f5099cb21c3f2d688d7e812f349dc06b695
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Dec 7 13:08:51 2016 -0500

    Fix comment  on connection_or_client_learned_peer_id().
---
 src/or/connection_or.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index f0292bc..635d3e4 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.





More information about the tor-commits mailing list