next_tel = QUIC_TLS_ENC_LEVEL_APP;
tel = next_tel;
qel = qc_quic_enc_level(qc, tel);
+ /* Note that we cannot NULL as value for <qel> when for the Application
+ * data encryption level. Furthermore this encryption is never released.
+ */
if (tel == QUIC_TLS_ENC_LEVEL_APP)
frms = &qel->pktns->tx.frms;
else
b_reset(buf);
ret = qc_prep_hpkts(qc, buf,
- qc_quic_enc_level(qc, tel),
+ DISGUISE(qc_quic_enc_level(qc, tel)),
qc_quic_enc_level(qc, next_tel));
if (ret == -1) {
qc_txb_release(qc);