mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
QUIC TXP: Make discard_enc_level match documentation
The documentation in the header file of the TXP stated that it is the caller's responsibility to also notify the QTX of a discarded EL. However, the implementation did not reflect this. Update the implementation to reflect the intended design. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
This commit is contained in:
parent
04e5226f65
commit
df03868564
@ -440,7 +440,6 @@ int ossl_quic_tx_packetiser_discard_enc_level(OSSL_QUIC_TX_PACKETISER *txp,
|
||||
if (enc_level != QUIC_ENC_LEVEL_0RTT)
|
||||
txp->args.crypto[ossl_quic_enc_level_to_pn_space(enc_level)] = NULL;
|
||||
|
||||
ossl_qtx_discard_enc_level(txp->args.qtx, enc_level);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user