configure: add warning for using TLS libraries without 1.3 support

Closes #12900
This commit is contained in:
Daniel Stenberg 2024-02-08 15:11:55 +01:00
parent 07e5b3ea60
commit 05104f826e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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!