diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-03 03:37:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-03 03:37:11 +0000 |
commit | d93ff0b82f9c4a983677cddf02d43b40f801d1a0 (patch) | |
tree | 36d29cd40d165c1af20ccd69cd055afb1d1e5c42 /src/or/rendmid.c | |
parent | 7eaa655b6db66664b643b16b9d296b0858f31e42 (diff) | |
download | tor-d93ff0b82f9c4a983677cddf02d43b40f801d1a0.tar.gz tor-d93ff0b82f9c4a983677cddf02d43b40f801d1a0.zip |
Handle rendezvous relay cells
svn:r1464
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 0fd6c75902..691af35878 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -8,7 +8,7 @@ * rendevous service. */ int -rend_mid_establish_intro(circuit_t *circ, char *request, int request_len) +rend_mid_establish_intro(circuit_t *circ, const char *request, int request_len) { crypto_pk_env_t *pk = NULL; char buf[20+9]; @@ -97,7 +97,7 @@ rend_mid_establish_intro(circuit_t *circ, char *request, int request_len) * INTRODUCE2 cell. */ int -rend_mid_introduce(circuit_t *circ, char *request, int request_len) +rend_mid_introduce(circuit_t *circ, const char *request, int request_len) { circuit_t *intro_circ; char hexid[9]; @@ -149,7 +149,7 @@ rend_mid_introduce(circuit_t *circ, char *request, int request_len) * rendezvous cookie. */ int -rend_mid_establish_rendezvous(circuit_t *circ, char *request, int request_len) +rend_mid_establish_rendezvous(circuit_t *circ, const char *request, int request_len) { char hexid[9]; @@ -185,7 +185,7 @@ rend_mid_establish_rendezvous(circuit_t *circ, char *request, int request_len) * relaying the cell's body in a RENDEZVOUS2 cell, and connecting the two circuits. */ int -rend_mid_rendezvous(circuit_t *circ, char *request, int request_len) +rend_mid_rendezvous(circuit_t *circ, const char *request, int request_len) { circuit_t *rend_circ; char hexid[9]; |