=head1 NAME
ERR_set_mark, ERR_clear_last_mark, ERR_pop_to_mark, ERR_count_to_mark, ERR_pop -
-set mark, clear mark and pop errors until mark
+set mark, clear mark, pop errors until mark and pop last error
=head1 SYNOPSIS
OSSL_QRX_ARGS qrx_args = {0};
QUIC_TLS_ARGS tls_args = {0};
uint32_t pn_space;
- size_t rx_short_dcid_len = ossl_quic_port_get_rx_short_dcid_len(ch->port);
- size_t tx_init_dcid_len = ossl_quic_port_get_tx_init_dcid_len(ch->port);
+ size_t rx_short_dcid_len;
+ size_t tx_init_dcid_len;
if (ch->port == NULL || ch->lcidm == NULL || ch->srtm == NULL)
goto err;
+ rx_short_dcid_len = ossl_quic_port_get_rx_short_dcid_len(ch->port);
+ tx_init_dcid_len = ossl_quic_port_get_tx_init_dcid_len(ch->port);
+
/* For clients, generate our initial DCID. */
if (!ch->is_server
&& !ossl_quic_gen_rand_conn_id(ch->port->engine->libctx, tx_init_dcid_len,
for (i = 0;; ++i) {
if (!ossl_quic_srtm_lookup(port->srtm,
(QUIC_STATELESS_RESET_TOKEN *)(data + e->data_len
- - sizeof(QUIC_STATELESS_RESET_TOKEN)),
+ - sizeof(QUIC_STATELESS_RESET_TOKEN)),
i, &opaque, NULL))
break;
size_t i;
if (args->demux == NULL || args->max_deferred == 0)
- return 0;
+ return NULL;
qrx = OPENSSL_zalloc(sizeof(OSSL_QRX));
if (qrx == NULL)
- return 0;
+ return NULL;
for (i = 0; i < OSSL_NELEM(qrx->largest_pn); ++i)
qrx->largest_pn[i] = args->init_largest_pn[i];