From: William Lallemand Date: Fri, 2 May 2025 13:57:31 +0000 (+0200) Subject: BUILD: acme: need HAVE_ASN1_TIME_TO_TM X-Git-Tag: v3.2-dev14~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=878a3507dff152ba1591fb9c77e33d2aff9cc8ff;p=thirdparty%2Fhaproxy.git BUILD: acme: need HAVE_ASN1_TIME_TO_TM Restrict the build of the ACME feature to libraries which provide ASN1_TIME_to_tm() function. --- 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