aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-05 21:39:47 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-05 21:39:47 +0000
commit283593ca1b2f0e4a0f67ede35cf1f8c243792c68 (patch)
tree8eb7ac56eff0aeb310435e6ee8cb00685272b605 /src/or/rendservice.c
parentd371dda8f9b7a9de93a3aef732fa08db9cf59576 (diff)
downloadtor-283593ca1b2f0e4a0f67ede35cf1f8c243792c68.tar
tor-283593ca1b2f0e4a0f67ede35cf1f8c243792c68.tar.gz
Use correct payload lengths when sending RENDEZVOUS1 cells
svn:r1494
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 177716f8f..ae6b97ca0 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -574,7 +574,7 @@ rend_service_rendezvous_is_ready(circuit_t *circuit)
/* Send the cell */
if (connection_edge_send_command(NULL, circuit, RELAY_COMMAND_RENDEZVOUS1,
- buf, REND_COOKIE_LEN+DH_KEY_LEN+1,
+ buf, REND_COOKIE_LEN+DH_KEY_LEN+DIGEST_LEN,
circuit->cpath->prev)<0) {
log_fn(LOG_WARN, "Couldn't send RENDEZVOUS1 cell");
goto err;