mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Correct a comment in channel_tls_process_cell.
This commit is contained in:
@@ -1073,7 +1073,8 @@ channel_tls_handle_cell(cell_t *cell, or_connection_t *conn)
|
||||
return;
|
||||
|
||||
/* Reject all but VERSIONS and NETINFO when handshaking. */
|
||||
/* (VERSIONS should actually be impossible; it's variable-length.) */
|
||||
/* (VERSIONS actually indicates a protocol warning: it's variable-length,
|
||||
* so if it reaches this function, we're on a v1 connection.) */
|
||||
if (handshaking && cell->command != CELL_VERSIONS &&
|
||||
cell->command != CELL_NETINFO) {
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||
|
||||
Reference in New Issue
Block a user