Welcome Justin Maggard as #curl commit author 1288: github.com/curl/curl/pull/1422…
mbedtls: check version before getting tls version by jmaggard10 · Pull Request #14228 · curl/curl
mbedtls_ssl_get_version_number() was added in mbedtls 3.2.0. Check for that version before using it.GitHub