From: Daniel Stenberg Date: Thu, 8 Feb 2024 14:11:55 +0000 (+0100) Subject: configure: add warning for using TLS libraries without 1.3 support X-Git-Tag: curl-8_7_0~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05104f826e801b2af86f0230c3023e18b8c50a9a;p=thirdparty%2Fcurl.git configure: add warning for using TLS libraries without 1.3 support Closes #12900 --- diff --git a/configure.ac b/configure.ac index db291afb00..cd0e2d07d8 100644 --- a/configure.ac +++ b/configure.ac @@ -4999,6 +4999,14 @@ AC_MSG_NOTICE([Configured to build curl/libcurl: Protocols: ${SUPPORT_PROTOCOLS} Features: ${SUPPORT_FEATURES} ]) + +non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; +if test -n "$non13"; then + cat >&2 << _EOF + WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3! +_EOF +fi + if test -n "$experimental"; then cat >&2 << _EOF WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution!