From fa4312edefa34a40aa5ccc8f818d7d77320d5e11 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 19 Sep 2025 15:56:51 -0500 Subject: [PATCH] curl: document tiny-curl config a bit more. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index c45567632..7e12f51c2 100644 --- a/configure.ac +++ b/configure.ac @@ -8193,12 +8193,18 @@ then fi elif test "$ENABLED_CURL" = "tiny" then + # basic config to support tiny-curl. + # OPENSSL_EXTRA_X509_SMALL is sufficient. if test "x$ENABLED_OPENSSLEXTRA" = "xno" then ENABLED_OPENSSLEXTRA="x509small" fi + # expose a bit more compat API without full OPENSSL_EXTRA. AM_CFLAGS="$AM_CFLAGS -DHAVE_CURL" + + # session cache is necessary, but can be small or micro. + AM_CFLAGS="$AM_CFLAGS -DSMALL_SESSION_CACHE" fi if test "$ENABLED_PSK" = "no" && test "$ENABLED_LEANPSK" = "no" \