diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-24 19:08:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-24 19:08:07 +0000 |
commit | defe1e5f3cd464f9b499d7b71f5fe49b917f6ca7 (patch) | |
tree | ae3ea63ac4b9fceb3cf259aac4962cb060433eb4 /src/or/rendmid.c | |
parent | 0b36c29c4d3387e3d56b77b396e9d0598860193a (diff) | |
download | tor-defe1e5f3cd464f9b499d7b71f5fe49b917f6ca7.tar.gz tor-defe1e5f3cd464f9b499d7b71f5fe49b917f6ca7.zip |
start generating new version of introduce1 cells
svn:r2586
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index a64b844343..e5a342c08e 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -122,6 +122,8 @@ rend_mid_introduce(circuit_t *circ, const char *request, size_t request_len) goto err; } +/* change MAX_NICKNAME_LEN to MAX_HEX_NICKNAME_LEN when 0.0.8.1 and + * 0.0.9pre3-4 are obsolete. */ if (request_len < (DIGEST_LEN+(MAX_NICKNAME_LEN+1)+REND_COOKIE_LEN+ DH_KEY_LEN+CIPHER_KEY_LEN+PKCS1_OAEP_PADDING_OVERHEAD)) { log_fn(LOG_WARN, @@ -153,7 +155,7 @@ rend_mid_introduce(circuit_t *circ, const char *request, size_t request_len) log_fn(LOG_WARN, "Unable to send INTRODUCE2 cell to OP."); goto err; } - /* And sent an ack down the cirecuit. Empty body->succeeded. */ + /* And sent an ack down Alice's circuit. Empty body means succeeded. */ if (connection_edge_send_command(NULL,circ,RELAY_COMMAND_INTRODUCE_ACK, NULL,0,NULL)) { log_fn(LOG_WARN, "Unable to send INTRODUCE_ACK cell to OP."); |