]> git.kaiwu.me - haproxy.git/commit
BUILD: Makefile: error when trying to build with aws-lc with the wrong flags
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 21 Jul 2026 13:06:20 +0000 (15:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 21 Jul 2026 13:19:05 +0000 (15:19 +0200)
commita0ca7b619862189ac342afe2fb445926b3c7d20b
treed8934c39a1bfc7e3490e7e421f7d76bf453dc9ad
parent9a15d207c4d14750aa9e305c1f49eac051c26dc4
BUILD: Makefile: error when trying to build with aws-lc with the wrong flags

USE_OPENSSL_AWSLC=1 is required when trying to build with aws-lc. This
was already required before, but kind of worked without it since
f76e8e50f460 ("BUILD: ssl: replace USE_OPENSSL_AWSLC by
OPENSSL_IS_AWSLC").

However since 9ac590b5 ("MEDIUM: ssl: introduce src/fips.c with TLS
version check"), this can't work by accident anymore.

This patch emits an error when we find OPENSSL_IS_AWSLC, but we didn't
found USE_OPENSSL_AWSLC=1.
include/haproxy/openssl-compat.h