mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Use correct payload lengths when sending RENDEZVOUS1 cells
svn:r1494
This commit is contained in:
parent
d371dda8f9
commit
283593ca1b
@ -574,7 +574,7 @@ rend_service_rendezvous_is_ready(circuit_t *circuit)
|
|||||||
|
|
||||||
/* Send the cell */
|
/* Send the cell */
|
||||||
if (connection_edge_send_command(NULL, circuit, RELAY_COMMAND_RENDEZVOUS1,
|
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) {
|
circuit->cpath->prev)<0) {
|
||||||
log_fn(LOG_WARN, "Couldn't send RENDEZVOUS1 cell");
|
log_fn(LOG_WARN, "Couldn't send RENDEZVOUS1 cell");
|
||||||
goto err;
|
goto err;
|
||||||
|
Loading…
Reference in New Issue
Block a user