]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong key update cipher context initialization for encryption
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 2 May 2023 18:03:19 +0000 (20:03 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 9 May 2023 09:03:26 +0000 (11:03 +0200)
commit7a01ff7921cd72f41ebfd8268b6874ae6c7c139d
tree22fe8468c014190e4eab6d08915d3cf614567755
parenta94612522da8a494e9238a7b4afd68081044fe6c
BUG/MINOR: quic: Wrong key update cipher context initialization for encryption

As noticed by Miroslav, there was a typo in quic_tls_key_update() which lead
a cipher context for decryption to be initialized and used in place of a cipher
context for encryption. Surprisingly, this did not prevent the key update
from working. Perhaps this is due to the fact that the underlying cryptographic
algorithms used by QUIC are all symetric algorithms.

Also modify incorrect traces.

Must be backported in 2.6 and 2.7.
src/quic_conn.c