diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-10-31 16:03:25 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-13 13:20:12 +0000 |
commit | df038685644eb1bc4618f678b52fc22f0101235f (patch) | |
tree | b64522a3183967198aeaae32776f4e3aad5e072e /ssl/quic/quic_txp.c | |
parent | 04e5226f6549683a8362ae1af2445987d699540a (diff) |
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)
Diffstat (limited to 'ssl/quic/quic_txp.c')
-rw-r--r-- | ssl/quic/quic_txp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/quic/quic_txp.c b/ssl/quic/quic_txp.c index 6224891a35..5fa9070acd 100644 --- a/ssl/quic/quic_txp.c +++ b/ssl/quic/quic_txp.c @@ -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; } |