diff options
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c index fe476d4af3..fc000e955a 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -196,8 +196,8 @@ static void command_process_create_cell(cell_t *cell, connection_t *conn) { } log_fn(LOG_DEBUG,"success: handed off onionskin."); } else { - unsigned char keys[CPATH_KEY_MATERIAL_LEN]; - unsigned char reply[DIGEST_LEN*2]; + char keys[CPATH_KEY_MATERIAL_LEN]; + char reply[DIGEST_LEN*2]; tor_assert(cell->command == CELL_CREATE_FAST); if (fast_server_handshake(cell->payload, reply, keys, sizeof(keys))<0) { log_fn(LOG_WARN,"Failed to generate key material. Closing."); |