From 878a3507dff152ba1591fb9c77e33d2aff9cc8ff Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 2 May 2025 15:57:31 +0200 Subject: [PATCH] BUILD: acme: need HAVE_ASN1_TIME_TO_TM Restrict the build of the ACME feature to libraries which provide ASN1_TIME_to_tm() function. --- include/haproxy/openssl-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 1222cdf77..4d8d94007 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h @@ -132,7 +132,7 @@ #define HAVE_JWS #endif -#if (defined(HAVE_JWS)) +#if (defined(HAVE_JWS) && defined(HAVE_ASN1_TIME_TO_TM)) #define HAVE_ACME #endif