]> git.ipfire.org Git - thirdparty/haproxy.git/commit
SCRIPTS: build-ssl: allow to build a FIPS version without FIPS
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 3 Nov 2025 11:03:05 +0000 (12:03 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 3 Nov 2025 11:03:05 +0000 (12:03 +0100)
commit12aca978a8fb3dd90405d57271b803913f732516
tree4918c420fe583f30d723f6aa26560954f212e0f3
parent6bfabfdc77af5443bafdad901644119120993117
SCRIPTS: build-ssl: allow to build a FIPS version without FIPS

build-ssl.sh is always prepending a "v" to the version, preventing to
build a FIPS version without FIPS enabled.

This patch checks if FIPS is in the version string to chose to add the
"v" or not.

Example:

AWS_LC_VERSION=AWS-LC-FIPS-3.0.0 BUILDSSL_DESTDIR=/opt/awslc-3.0.0 ./scripts/build-ssl.sh
scripts/build-ssl.sh