瀏覽代碼

Better documentation for ext_or_auth_correct_client_hash.

George Kadianakis 10 年之前
父節點
當前提交
bdeddecd29
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/or/or.h

+ 6 - 1
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