aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-08 17:38:32 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-08 17:38:32 +0000
commite9b66ec906895753fc8374c634c8b708933c2762 (patch)
treeca5557f31ce9fbb052a3b0319fc771d197f00231 /src/or/command.c
parent25303172b815789ce3ee1bde0ed765a4b61ffa74 (diff)
downloadtor-e9b66ec906895753fc8374c634c8b708933c2762.tar.gz
tor-e9b66ec906895753fc8374c634c8b708933c2762.zip
Document CREATE_FAST better in the code. Move our key expansion algorithm into a separate function in crypto.c
svn:r5530
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 73c3137cbb..3aca6756fd 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -211,6 +211,8 @@ command_process_create_cell(cell_t *cell, connection_t *conn)
}
debug(LD_OR,"success: handed off onionskin.");
} else {
+ /* This is a CREATE_FAST cell; we can handle it immediately without using
+ * a CPU worker.*/
char keys[CPATH_KEY_MATERIAL_LEN];
char reply[DIGEST_LEN*2];
tor_assert(cell->command == CELL_CREATE_FAST);