mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Correct a comment in channel_tls_process_cell.
This commit is contained in:
parent
7f5c6a603c
commit
2d744de355
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue