]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: remove unnecessary if in qc_pkt_may_rm_hp()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Dec 2021 15:02:24 +0000 (16:02 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Dec 2021 15:02:24 +0000 (16:02 +0100)
commit741eacca4780a3aee8325665fe380063c80faa6f
tree0c6e05bc484739aba613c307515af17cb74204f8
parent7ca7c84fb83b98274dae2e3814e4b3d803b70bc2
MINOR: quic: remove unnecessary if in qc_pkt_may_rm_hp()

Remove the shortcut to use the INITIAL encryption level when removing
header protection on first connection packet.

This change is useful for the following change which removes
ssl_sock_ctx in argument lists in favor of the quic_conn instance.
src/xprt_quic.c