BUILD: acme: enable the ACME feature when JWS is present

The ACME feature depends on the JWS, which currently does not work with
every SSL libraries. This patch only enables ACME when JWS is enabled.
This commit is contained in:
William Lallemand
2025-04-12 01:10:14 +02:00
parent a96cbe32b6
commit 39c05cedff
3 changed files with 10 additions and 0 deletions

View File

@@ -132,6 +132,10 @@
#define HAVE_JWS
#endif
#if (defined(HAVE_JWS))
#define HAVE_ACME
#endif
#if !defined(HAVE_SSL_SET_SECURITY_LEVEL)
/* define a nope function for set_security_level */
#define SSL_CTX_set_security_level(ctx, level) ({})