aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendmid.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-05 21:32:43 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-05 21:32:43 +0000
commit682a805092260d15ceef81a855ea30004595966f (patch)
tree63ad79ff94d481feaf75588d0156681a209a7884 /src/or/rendmid.c
parent6cfdc90d926b149cefba59c27eac6a966ba31877 (diff)
downloadtor-682a805092260d15ceef81a855ea30004595966f.tar.gz
tor-682a805092260d15ceef81a855ea30004595966f.zip
Comments for nearly all non-tricky files
svn:r1796
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r--src/or/rendmid.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index 10eeab4dff..4879b9e2db 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -2,10 +2,14 @@
/* See LICENSE for licensing information */
/* $Id$ */
+/*****
+ * rendmid.c: Implement introductions points and rendezvous points.
+ *****/
+
#include "or.h"
-/* Respond to an ESTABLISH_INTRO cell by setting the circuit's purpose and
- * service pk digest..
+/* Respond to an ESTABLISH_INTRO cell by checking the signed data and
+ * setting the circuit's purpose and service pk digest.
*/
int
rend_mid_establish_intro(circuit_t *circ, const char *request, int request_len)
@@ -219,8 +223,9 @@ rend_mid_establish_rendezvous(circuit_t *circ, const char *request, int request_
return -1;
}
-/* Process a RENDEZVOUS1 cell by looking up the correct rendezvous circuit by its
- * relaying the cell's body in a RENDEZVOUS2 cell, and connecting the two circuits.
+/* Process a RENDEZVOUS1 cell by looking up the correct rendezvous
+ * circuit by its relaying the cell's body in a RENDEZVOUS2 cell, and
+ * connecting the two circuits.
*/
int
rend_mid_rendezvous(circuit_t *circ, const char *request, int request_len)