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