]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: acme: need HAVE_ASN1_TIME_TO_TM
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 13:57:31 +0000 (15:57 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 14:01:32 +0000 (16:01 +0200)
Restrict the build of the ACME feature to libraries which provide
ASN1_TIME_to_tm() function.

include/haproxy/openssl-compat.h

index 1222cdf7784dbe1d21488f51a13f993f0a56e471..4d8d94007f88ae678993f1f1443482345ce28e33 100644 (file)
 #define HAVE_JWS
 #endif
 
-#if (defined(HAVE_JWS))
+#if (defined(HAVE_JWS) && defined(HAVE_ASN1_TIME_TO_TM))
 #define HAVE_ACME
 #endif