mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 11:06:35 +02:00
MINOR: quic: Do not drop secret key but drop the CRYPTO data
We need to be able to decrypt late Handshake packets after the TLS secret keys have been discarded. If not the peer send Handshake packet which have not been acknowledged. But for such packets, we discard the CRYPTO data.
This commit is contained in:
@@ -459,7 +459,6 @@ static inline void quic_tls_discard_keys(struct quic_enc_level *qel)
|
||||
{
|
||||
qel->tls_ctx.rx.flags |= QUIC_FL_TLS_SECRETS_DCD;
|
||||
qel->tls_ctx.tx.flags |= QUIC_FL_TLS_SECRETS_DCD;
|
||||
quic_tls_ctx_secs_free(&qel->tls_ctx);
|
||||
}
|
||||
|
||||
/* Derive the initial secrets with <ctx> as QUIC TLS context which is the
|
||||
|
||||
Reference in New Issue
Block a user