diff options
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c index 2c971734c0..75a4ab98a2 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -200,6 +200,7 @@ command_process_create_cell(cell_t *cell, connection_t *conn) circ->purpose = CIRCUIT_PURPOSE_OR; circ->state = CIRCUIT_STATE_ONIONSKIN_PENDING; if (cell->command == CELL_CREATE) { + circ->onionskin = tor_malloc(ONIONSKIN_CHALLENGE_LEN); memcpy(circ->onionskin, cell->payload, ONIONSKIN_CHALLENGE_LEN); /* hand it off to the cpuworkers, and then return */ |