]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ssl: skip the cipher workaround with AWS-LC API 38 and newer
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Nov 2026 12:30:08 +0000 (12:30 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Nov 2026 12:38:51 +0000 (13:38 +0100)
commit6334b928631c08b8009de078b6eeff1dfc1583e3
tree6cc47b973e7e81a92f8b0b7d788e1dac7453f764
parenta50bb45ba922c588cd2b842e52d7774ea3316293
BUG/MINOR: ssl: skip the cipher workaround with AWS-LC API 38 and newer

The crt-list cipher workaround reparses the ciphers and ciphersuites
strings on each connection after SSL_set_SSL_CTX(). AWS-LC restored
context-based cipher inheritance in 5.14.0, so these calls are redundant
with a library providing the fixed context-switching behavior.

Limit the workaround to AWSLC_API_VERSION values greater than 30 and
below 38. Keep the string setters for older API versions and preserve
the API 30 exclusion, where cipher lists already follow the SSL_CTX.
This deliberately retains the workaround for API 37, including 5.14.0,
since that API version also identifies earlier, affected releases.

This follows 38398d2476 ("BUG/MEDIUM: ssl: crt-list ciphers ignored with
AWS-LC") and relates to GitHub issue #3500 and aws/aws-lc#3614.

This should be backported as far as 3.0. The code is in src/ssl_sock.c
before 3.1.
src/ssl_clienthello.c