]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Better documentation for ext_or_auth_correct_client_hash.
authorGeorge Kadianakis <desnacked@riseup.net>
Wed, 14 Aug 2013 14:00:56 +0000 (17:00 +0300)
committerNick Mathewson <nickm@torproject.org>
Thu, 15 Aug 2013 16:03:37 +0000 (12:03 -0400)
src/or/or.h

index 9b519a78ffde36c1eed0fe73c7c8e365b2530384..363dfeaf7d5d41445ce1de8d6176640fedf7a850 100644 (file)
@@ -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