]> git.kaiwu.me - haproxy.git/commit
SCRIPTS: honor FIPS mode when building AWS-LC
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Dec 2026 14:55:54 +0000 (14:55 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Dec 2026 15:00:05 +0000 (16:00 +0100)
commit87845593c1e159e660fab67fdecb0e4571ed64dc
tree3000280e9eade1e9a320e25d186c622a8e4ccb58
parent317447675603f11a608c1dfd80ca3066f03fc126
SCRIPTS: honor FIPS mode when building AWS-LC

The AWS-LC FIPS workflow passes FIPS=1 with AWS_LC_VERSION, but the
shared build helper ignored it and always disabled Go and Perl code
generation. Consequently the jobs built non-FIPS libraries and left
HAProxy's FIPS-specific code paths untested despite appearing to cover
them.

This was introduced by d572a131a7 ("CI: github: add AWS-LC FIPS testing
workflow"), which added the workflow without updating the build helper.

Pass the FIPS setting to CMake and enable the required generators for
FIPS builds. Append -fips to the installed-version marker only in FIPS
mode, leaving the build directory and workflow cache key unchanged.

This fix should be backported to 3.5.
scripts/build-ssl.sh