[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Better documentation for ext_or_auth_correct_client_hash.



commit bdeddecd29fc6d7edce9ab1e9f1963f6f03a63f8
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date:   Wed Aug 14 17:00:56 2013 +0300

    Better documentation for ext_or_auth_correct_client_hash.
---
 src/or/or.h |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/or/or.h b/src/or/or.h
index 9b519a7..363dfea 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1448,9 +1448,14 @@ typedef struct or_connection_t {
   /** Hash of the public RSA key for the other side's identity key, or zeroes
    * if the other side hasn't shown us a valid identity key. */
   char identity_digest[DIGEST_LEN];
+
   /** Extended ORPort connection identifier. */
   char *ext_or_conn_id;
-  /** Client hash of the Extended ORPort authentication scheme */
+  /** This is the ClientHash value we expect to receive from the
+   *  client during the Extended ORPort authentication protocol. We
+   *  compute it upon receiving the ClientNoce from the client, and we
+   *  compare it with the acual ClientHash value sent by the
+   *  client. */
   char *ext_or_auth_correct_client_hash;
   /** String carrying the name of the pluggable transport
    *  (e.g. "obfs2") that is obfuscating this connection. If no



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits