mbedtls: bump minimum version required to 3.2.0#18254
mbedtls: bump minimum version required to 3.2.0#18254vszakats wants to merge 11 commits intocurl:masterfrom
Conversation
|
2022 looks correct for 3.2.0: and 3.1.0 is Dec 15, 2021: Both need their own branches. I have a patch for 3.1.0, shall we decide |
|
3.1.0 looks like a bugfix release in the same year as 3.0.0. Looking at the distro overview below, a couple of ones stand https://repology.org/project/mbedtls/versions Based on this, a jump to 3.2.0 seems reasonable. The next TL;DR: IMO going for 3.2.0 seems fine. Maybe even 3.6.1. |
a9c86f1 to
4a87ab3
Compare
|
Thanks for doing this @vszakats , I was just going to make an issue for this, but saw you already did the work. Thanks! I Appreciate it. |
|
Also, I'm on board for bumping the minimum version to 3.6.1 because the 3.6.x branch is the only one supported by mbedTLS and the parent organization (other than than the upcoming 4.x branch, currently in beta). |
|
Just verified the gains with requiring 3.6.1, and it's tiny: it saves 2 interim According to local tests with 3.4.0 (3.2.0, 3.3.0 did not build out of the box This enables building curl with mbedTLS <3.6.0 with explicitly enabled |
Drop three interim macros and mbedTLS version checks in favor of feature macros defined by mbedTLS itself. These mbedTLS features require mbedTLS 3.6.0/3.6.1 for production. Earlier versions may have partial/experimental support for them, disabled by default and (AFAICS) without documented build options to enable them. One feature guard already used the native macro instead of the interim one before this patch. (`MBEDTLS_SSL_SESSION_TICKETS`) Ref: #18254 (comment) Closes #18271
|
Just to clarify... Mbed TLS 2.28 was a LTS, with last and final release in March 2025: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-2.28.10. So this is not supported with curl 8.16+, correct? |
|
Correct |
3.2.0 was released on July 11, 2022.
Ref: #18161
w/o sp https://github.com/curl/curl/pull/18254/files?w=1
https://repology.org/project/mbedtls/versions