aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-16 09:48:17 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-16 09:48:17 +0000
commit8712a30e91fa61de03ed1525b174b3d0ae8cddac (patch)
tree98349cff3e7462fba74fcf173229e75ac800695b /src/or/onion.c
parent961ecf7abfc80571ab858099d1d4f6362b791ea0 (diff)
downloadtor-8712a30e91fa61de03ed1525b174b3d0ae8cddac.tar.gz
tor-8712a30e91fa61de03ed1525b174b3d0ae8cddac.zip
move cell size to 512 bytes
move length to 2 bytes, put it in the relay header remove 4 reserved bytes in cell add 4 bytes to relay header for the integrity check svn:r942
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 0923741d92..5c52dd6295 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -124,7 +124,6 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key
memset(&cell, 0, sizeof(cell_t));
cell.command = CELL_CREATED;
cell.circ_id = circ->p_circ_id;
- cell.length = ONIONSKIN_REPLY_LEN;
circ->state = CIRCUIT_STATE_OPEN;