]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: ssl: Spell HAVE_VANILLA_OPENSSL correctly
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 22 Jul 2026 16:33:28 +0000 (18:33 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 23 Jul 2026 15:20:14 +0000 (17:20 +0200)
commit565247ec5575eec188667d2365011eac723d8084
treec00a6427ab169351867ad9eac68cb99d6688f239
parent223efec070ef5a64904dccb0361c00c68fde80e6
BUG/MEDIUM: ssl: Spell HAVE_VANILLA_OPENSSL correctly

Use HAVE_VANILLA_OPENSSL, which is what we actually define when we're
linked against OpenSSL, and not USE_VANILLA_OPENSSL.
Not using the right macro means we may start splicing with kTLS while
there are still data available in OpenSSL's internal buffers, leading to
data not being properly read.

This should be backported up to 3.3.
src/ssl_sock.c