/* This is the DCID node sent in this packet by the client. */
node = &qc->odcid_node;
conn_ctx = qc->conn->xprt_ctx;
- SSL_set_quic_transport_params(conn_ctx->ssl,
- qc->enc_params, qc->enc_params_len);
}
else {
if (pkt->type == QUIC_PACKET_TYPE_INITIAL && cids == &l->rx.odcids)
else if (objt_listener(conn->target)) {
/* Listener */
struct bind_conf *bc = __objt_listener(conn->target)->bind_conf;
+ struct quic_conn *qc = ctx->conn->qc;
ctx->state = QUIC_HS_ST_SERVER_INITIAL;
&ctx->ssl, &ctx->bio, ha_quic_meth, ctx) == -1)
goto err;
+ SSL_set_quic_transport_params(ctx->ssl, qc->enc_params, qc->enc_params_len);
SSL_set_accept_state(ctx->ssl);
}