Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22674)
  • Loading branch information
hlandau committed Dec 21, 2023
1 parent b71046b commit 33ca076
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions include/internal/quic_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ void ossl_quic_port_free(QUIC_PORT *port);
QUIC_CHANNEL *ossl_quic_port_create_outgoing(QUIC_PORT *port, SSL *tls);

/*
* Create an incoming channel using this port. XXX for temporary TSERVER use
* only - will be removed.
* Create an incoming channel using this port.
*
* TODO(QUIC SERVER): temporary TSERVER use only - will be removed.
*/
QUIC_CHANNEL *ossl_quic_port_create_incoming(QUIC_PORT *port, SSL *tls);

Expand Down
7 changes: 3 additions & 4 deletions ssl/quic/quic_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ static int port_init(QUIC_PORT *port)
port->rx_short_dcid_len = (unsigned char)rx_short_dcid_len;
port->tx_init_dcid_len = INIT_DCID_LEN;
port->state = QUIC_PORT_STATE_RUNNING;
if (port->engine != NULL) {
ossl_list_port_insert_tail(&port->engine->port_list, port);
port->on_engine_list = 1;
}

ossl_list_port_insert_tail(&port->engine->port_list, port);
port->on_engine_list = 1;
return 1;

err:
Expand Down

0 comments on commit 33ca076

Please sign in to comment.