Use correct payload lengths when sending RENDEZVOUS1 cells

svn:r1494
This commit is contained in:
Nick Mathewson 2004-04-05 21:39:47 +00:00
parent d371dda8f9
commit 283593ca1b

View File

@ -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;